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

Before Change


            tf.logging.info("`csv_file` not specified, writing the list of "
                            "filenames to a temporary file.")
            import tempfile
            csv_file = tempfile.mkstemp(suffix=".csv")[1]

        if hasattr(mod_spec, "path_to_search") and mod_spec.path_to_search:
            tf.logging.info("[%s] search file folders, writing csv file %s",
                            modality_name, csv_file)

After Change


                    tf.logging.info("Overwriting existing: "%s".", csv_file)
            csv_file = os.path.abspath(csv_file)
        except (AttributeError, TypeError):
            tf.logging.debug("`csv_file` not specified, writing the list of "
                             "filenames to a temporary file.")
            import tempfile
            temp_csv_file = os.path.join(
                tempfile.mkdtemp(), "{}.csv".format(modality_name))
            csv_file = temp_csv_file
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: NifTK/NiftyNet
Commit Name: f3411bb824254b62f249772b530f74728dcd5c30
Time: 2018-05-03
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: streamlit/streamlit
Commit Name: 01bf5dd323bebd66b7ad60fdaee34eb8f7b76aae
Time: 2018-08-09
Author: armando@playground.global
File Name: lib/streamlit/proxy/Proxy.py
Class Name:
Method Name: _print_remote_url


Project Name: GPflow/GPflow
Commit Name: 5bbd453ab1901bf0a3a4f4684ad5b4b7f8446902
Time: 2018-10-16
Author: art.art.v@gmail.com
File Name: gpflow/expectations/expectations.py
Class Name:
Method Name: expectation


Project Name: streamlit/streamlit
Commit Name: 883644354ca6c016a9b79d67e0494db88a823c23
Time: 2018-08-14
Author: armando@playground.global
File Name: lib/streamlit/proxy/Proxy.py
Class Name:
Method Name: _print_remote_url