c25036261ee9d9e9c79099b4e7938d591cbda7b5,niftynet/contrib/regression_weighted_sampler/isample_regression.py,ISampleRegression,initialise_dataset_loader,#ISampleRegression#Any#Any#Any#,39

Before Change


        if not task_param.error_map:
            return

        file_lists = self.get_file_lists(data_partitioner)
        // modifying the original readers in regression application
        // as we need ground truth labels to generate error maps
        self.readers=[]
        for file_list in file_lists:

After Change


            // use the regression application implementation
            return

        try:
            reader_phase = self.action_param.dataset_to_infer
        except AttributeError:
            reader_phase = None
        file_lists = data_partitioner.get_file_lists_by(
            phase=reader_phase, action=self.action)
        // modifying the original readers in regression application
        // as we need ground truth labels to generate error maps
        self.readers = [
            ImageReader(["image", "output"]).initialise(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 11

Instances


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


Project Name: NifTK/NiftyNet
Commit Name: a171192e1b2062a0ec8a2c2f8a22b71fb290f98a
Time: 2018-05-27
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/application/label_driven_registration.py
Class Name: RegApp
Method Name: initialise_dataset_loader


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


Project Name: NifTK/NiftyNet
Commit Name: e3700cd9c3d556c96bd4eff893669baa679a3083
Time: 2018-05-27
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/application/autoencoder_application.py
Class Name: AutoencoderApplication
Method Name: initialise_dataset_loader