e2949a14f2bc5a9eaa689df314cba57f9cf61972,niftynet/io/image_sets_partitioner.py,ImageSetsPartitioner,grep_files_by_data_section,#ImageSetsPartitioner#Any#,221

Before Change


        //////////////////////////////////////////////////////////////////////////////////////////
        // writing csv file if path_to_search specified
        ////////////////////////////////////////////////////////////////////////////////////////////
        if hasattr(mod_spec, "path_to_search") and mod_spec.path_to_search:
            if not temp_csv_file:
                tf.logging.info(
                    "[%s] search file folders, writing csv file %s",

After Change


        //////////////////////////////////////////////////
        temp_csv_file = None
        try:
            csv_file = os.path.expanduser(mod_spec.get("csv_file", None))
            if not os.path.isfile(csv_file):
                // writing to the same folder as data_split_file
                default_csv_file = os.path.join(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: NifTK/NiftyNet
Commit Name: e2949a14f2bc5a9eaa689df314cba57f9cf61972
Time: 2018-05-06
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_sets_partitioner.py
Class Name: ImageSetsPartitioner
Method Name: grep_files_by_data_section


Project Name: NifTK/NiftyNet
Commit Name: e2949a14f2bc5a9eaa689df314cba57f9cf61972
Time: 2018-05-06
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_reader.py
Class Name:
Method Name: _create_image


Project Name: OpenNMT/OpenNMT-py
Commit Name: 6bbc37c8068c242d07f37cc5128e7b79cd489323
Time: 2020-11-10
Author: linxiao.zeng@gmail.com
File Name: onmt/transforms/transform.py
Class Name: Transform
Method Name: __setstate__