50715e17dca61ee651ebf2bee143ddcd2763dab7,imaging/ml/toolkit/hcls_imaging_ml_toolkit/dicom_json_test.py,,,#,51

Before Change


    self.assertEqual(dicom_object.study_uid, study_uid)


if __name__ == "__main__":
  absltest.main()

After Change


from hcls_imaging_ml_toolkit import tags


_DICOM_JSON = frozendict.frozendict({
    tags.PATIENT_AGE.number: {
        "vr": tags.PATIENT_AGE.vr,
        "Value": ["049Y"]
    },
    tags.SPECIFIC_CHARACTER_SET.number: {
        "vr": tags.SPECIFIC_CHARACTER_SET.vr,  // Missing "Value" key.
    },
    tags.WINDOW_WIDTH.number: {
        "vr": tags.WINDOW_WIDTH.vr,
        "Value": []  // "Value" key maps to empty list.
    },
    tags.PATIENT_COMMENTS.number: {
        "vr": tags.PATIENT_COMMENTS.vr,
        "Value": ["abc", "def", "ghi"]
    },
})


class DicomJsonTest(parameterized.TestCase):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: GoogleCloudPlatform/healthcare
Commit Name: 50715e17dca61ee651ebf2bee143ddcd2763dab7
Time: 2020-09-23
Author: noreply@google.com
File Name: imaging/ml/toolkit/hcls_imaging_ml_toolkit/dicom_json_test.py
Class Name:
Method Name:


Project Name: tensorflow/models
Commit Name: 5a4a3ac3c8a87b612ab205ec98ed1be0efa80720
Time: 2020-11-24
Author: poorvap@google.com
File Name: official/nlp/modeling/ops/sampling_module_test.py
Class Name:
Method Name:


Project Name: GoogleCloudPlatform/healthcare
Commit Name: 70f6ff3b2cb9bafbef8b99eea2e7d67740421634
Time: 2020-05-15
Author: ziyadh@google.com
File Name: imaging/ml/toolkit/hcls_imaging_ml_toolkit/cmle_test.py
Class Name:
Method Name: