1ef746a1b78c3964a317adf6511279ab106fcb87,niftynet/io/image_sets_partitioner.py,ImageSetsPartitioner,initialise,#ImageSetsPartitioner#Any#Any#Any#Any#,59

Before Change


            initialise to None will disable data partitioning
            and get_file_list always returns all subjects.
        
        self.data_param = {key: self.data_param[key] for key in self.data_param \
                           if not self.data_param[key].csv_data_file}

        if data_split_file is None:
            self.data_split_file = os.path.join(".", "dataset_split.csv")
        else:

After Change


            and get_file_list always returns all subjects.
        
        self.data_param = {}
        for key in data_param.keys():
            if len(data_param[key].csv_data_file) == 0:
                self.data_param[key] = data_param[key]

        // self.data_param = {key: self.data_param[key] for key in
        //                    self.data_param if not self.data_param[
        // key].csv_data_file}

        if data_split_file is None:
            self.data_split_file = os.path.join(".", "dataset_split.csv")
        else:
            self.data_split_file = data_split_file
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: NifTK/NiftyNet
Commit Name: 1ef746a1b78c3964a317adf6511279ab106fcb87
Time: 2019-06-05
Author: carole.sudre@kcl.ac.uk
File Name: niftynet/io/image_sets_partitioner.py
Class Name: ImageSetsPartitioner
Method Name: initialise


Project Name: pfnet/optuna
Commit Name: 9ffd284227062ed4c0a4865641169c1748edf239
Time: 2018-07-27
Author: sano@preferred.jp
File Name: pfnopt/config.py
Class Name:
Method Name: load_pfnopt_config


Project Name: NifTK/NiftyNet
Commit Name: acddf04b125d567e3d1954d26f6b4c2042e50e52
Time: 2019-07-03
Author: carole.sudre@kcl.ac.uk
File Name: niftynet/io/image_sets_partitioner.py
Class Name: ImageSetsPartitioner
Method Name: initialise