4d9d2a1fc4e0d9289000a235340235802d51a97a,app/grandchallenge/cases/image_builders/dicom.py,,_create_itk_from_dcm,#,262

Before Change


        else:
            pixel_array = ds.pixel_array

        if len(ds.pixel_array.shape) == dimensions:
            dcm_array = pixel_array
            break

After Change


            or pixel_array.shape == pixel_dims
        ):
            use_pixel_array = True
            del ds
            break
        if dcm_array is None:
            dcm_array = np.zeros(pixel_dims, dtype=np_dtype)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: comic/grand-challenge.org
Commit Name: 4d9d2a1fc4e0d9289000a235340235802d51a97a
Time: 2021-02-12
Author: 57257130+MikeOverkamp-diag@users.noreply.github.com
File Name: app/grandchallenge/cases/image_builders/dicom.py
Class Name:
Method Name: _create_itk_from_dcm


Project Name: soft-matter/trackpy
Commit Name: 8d74e077e63dac70a6932eb0496a4bb821253f5b
Time: 2012-12-05
Author: daniel.b.allan@gmail.com
File Name: mr/wire_models.py
Class Name: Model
Method Name: fit


Project Name: bethgelab/foolbox
Commit Name: 9d21406b95816a5cdeb631c0f7bf19579bfb3bf8
Time: 2020-02-11
Author: git@jonasrauber.de
File Name: foolbox/attacks/dataset_attack.py
Class Name: DatasetAttack
Method Name: feed