f6c83fb64a368aa529dc6d7335cc65c682acdda3,mlflow/store/file_store.py,FileStore,_get_run_files,#FileStore#Any#Any#,407

Before Change


        file_names = []
        for root, _, files in os.walk(source_dirs[0]):
            for name in files:
                abspath = os.path.join(root, name)
                file_names.append(os.path.relpath(abspath, source_dirs[0]))
        if sys.platform == "win32":
            // Turn metric relative path into metric name.
            // Metrics can have "/" in the name. On windows, "/" is interpreted as a separator.

After Change


            subfolder_name = FileStore.TAGS_FOLDER_NAME
        else:
            raise Exception("Looking for unknown resource under run.")
        return self._get_resource_files(run_dir, subfolder_name)

    def _get_experiment_files(self, experiment_id):
        _validate_experiment_id(experiment_id)
        experiment_dir = self._get_experiment_path(experiment_id, assert_exists=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: mlflow/mlflow
Commit Name: f6c83fb64a368aa529dc6d7335cc65c682acdda3
Time: 2019-07-28
Author: 52183359+ankitmathur-db@users.noreply.github.com
File Name: mlflow/store/file_store.py
Class Name: FileStore
Method Name: _get_run_files


Project Name: CellProfiler/CellProfiler
Commit Name: 6784b6461cbeb6b617840b14e3635bd98f6c6cf7
Time: 2017-09-25
Author: mcquin@users.noreply.github.com
File Name: cellprofiler/modules/_help.py
Class Name:
Method Name: __image_resource


Project Name: CellProfiler/CellProfiler
Commit Name: 2ad6c4652d62dcb7a0af8e34635570b6f4509e49
Time: 2018-02-05
Author: bowdenm@spu.edu
File Name: cellprofiler/modules/_help.py
Class Name:
Method Name: __image_resource