449bdd68c98d0a562686993885af40b920d6378d,niftynet/io/image_reader.py,,_create_image,#Any#Any#Any#Any#,336

Before Change


            return None
        interp_order = tuple(data_param[mod].interp_order
                             for mod in modalities)
        pixdim = tuple(data_param[mod].pixdim for mod in modalities)
        axcodes = tuple(data_param[mod].axcodes for mod in modalities)
        loader = tuple(data_param[mod].loader for mod in modalities)
    except KeyError:
        tf.logging.fatal(

After Change


            // ("testT1.nii.gz", "testT2.nii.gz", nan, "testFlair.nii.gz")
            return None

        interp_order, pixdim, axcodes, loader = [], [], [], []
        for mod in modalities:
            try:
                interp_order.append(data_param[mod].interp_order)
            except AttributeError:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: NifTK/NiftyNet
Commit Name: 449bdd68c98d0a562686993885af40b920d6378d
Time: 2018-05-01
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_reader.py
Class Name:
Method Name: _create_image


Project Name: keras-team/keras
Commit Name: bf464d7ed9283988fea1f548a11a0171fd2ff364
Time: 2021-01-06
Author: gardener@tensorflow.org
File Name: keras/utils/version_utils.py
Class Name:
Method Name: swap_class


Project Name: NifTK/NiftyNet
Commit Name: bbf4350363dc25cb9cdabb9d8fb635e96a617f32
Time: 2017-08-28
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_type.py
Class Name: SpatialImage3D
Method Name: shape


Project Name: catalyst-team/catalyst
Commit Name: f4beaac559e00a3676d942dc7e8fea69efc01cfe
Time: 2020-11-30
Author: raveforlive@gmail.com
File Name: catalyst/metrics/avg_precision.py
Class Name:
Method Name: mean_avg_precision