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

Before Change


                    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":

After Change


                        continue

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

Frequency: 3

Non-data size: 2

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: 696c0bba5172aa702b46e36119cbf73776fcfeee
Time: 2018-11-22
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/handler_model.py
Class Name: ModelRestorer
Method Name: restore_model


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