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


            initialise to None will disable data partitioning
            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: 12

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: NTMC-Community/MatchZoo
Commit Name: e63c463a3200d9843bc5be6c1c3ee36fb267cbde
Time: 2018-12-29
Author: i@uduse.com
File Name: matchzoo/engine/param_table.py
Class Name: ParamTable
Method Name: hyper_space


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