4e1a3df937b398cdc38a635bdbe4a15dc79bb8c2,niftynet/utilities/filename_matching.py,KeywordsMatching,from_dict,#Any#Any#Any#,32

Before Change


                    path_def = os.path.join(default_folder, path_i)
                    path_def = os.path.abspath(path_def)
                    if not os.path.exists(path_def):
                        raise ValueError(
                            "data input folder "{}" not found, did you maybe "
                            "forget to download data?".format(path_i))
                    path.append(path_def)

            elif name == "filename_contains":
                contain = tuple(set(value)) \

After Change


                    path_def = os.path.join(default_folder, path_i)
                    path_def = os.path.abspath(path_def)
                    if not os.path.exists(path_def):
                        tf.logging.fatal(
                            "data input folder "%s" not found, did you maybe "
                            "forget to download data?", path_i)
                        raise ValueError
                    path.append(path_def)

            elif name == "filename_contains":
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: NifTK/NiftyNet
Commit Name: 4e1a3df937b398cdc38a635bdbe4a15dc79bb8c2
Time: 2018-09-11
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/utilities/filename_matching.py
Class Name: KeywordsMatching
Method Name: from_dict


Project Name: NifTK/NiftyNet
Commit Name: 6df74e5750f146bfd7bc5e7a2c49b2e40d6a457c
Time: 2017-08-31
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/application_variables.py
Class Name: OutputsCollector
Method Name: variables


Project Name: NifTK/NiftyNet
Commit Name: 4e1a3df937b398cdc38a635bdbe4a15dc79bb8c2
Time: 2018-09-11
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/utilities/filename_matching.py
Class Name: KeywordsMatching
Method Name: matching_subjects_and_filenames