72e0907d7784f62157906818686da273ab6aa7ed,niftynet/contrib/segmentation_bf_aug/segmentation_application_bfaug.py,SegmentationApplicationBFAug,initialise_dataset_loader,#SegmentationApplicationBFAug#Any#Any#Any#,58

Before Change



            self.readers = []
            for file_list in file_lists:
                reader = ImageReader(SUPPORTED_INPUT)
                reader.initialise(data_param, task_param, file_list)
                self.readers.append(reader)

        else:  // in the inference process use image input only
            inference_reader = ImageReader(["image"])

After Change


        // initialise input image readers
        if self.is_training:
            reader_names = ("image", "label", "weight", "sampler")
        elif self.is_inference:
            // in the inference process use `image` input only
            reader_names = ("image",)
        elif self.is_evaluation:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: NifTK/NiftyNet
Commit Name: 72e0907d7784f62157906818686da273ab6aa7ed
Time: 2018-09-11
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/contrib/segmentation_bf_aug/segmentation_application_bfaug.py
Class Name: SegmentationApplicationBFAug
Method Name: initialise_dataset_loader


Project Name: keiffster/program-y
Commit Name: f0c439f62ff6af27c64afea9a0518519a754bc25
Time: 2019-11-26
Author: keith@gchqsurserverf3.home
File Name: test/programytest/test_binaries.py
Class Name: BinariesTests
Method Name: test_save_with_exception


Project Name: NifTK/NiftyNet
Commit Name: c25036261ee9d9e9c79099b4e7938d591cbda7b5
Time: 2018-05-27
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/contrib/regression_weighted_sampler/isample_regression.py
Class Name: ISampleRegression
Method Name: initialise_dataset_loader