7e9cbfcdb8167b63dc0ed4887bf8ff230239da08,mlflow/store/file_store.py,FileStore,_get_experiment,#FileStore#Any#Any#,165

Before Change


        self._check_root_dir()
        experiment_dir = self._get_experiment_path(experiment_id, view_type)
        if experiment_dir is None:
            raise Exception("Could not find experiment with ID %s" % experiment_id)
        meta = read_yaml(experiment_dir, FileStore.META_DATA_FILE_NAME)
        if experiment_dir.startswith(self.trash_folder):
            meta["lifecycle_stage"] = Experiment.DELETED_LIFECYCLE
        else:

After Change


        self._check_root_dir()
        experiment_dir = self._get_experiment_path(experiment_id, view_type)
        if experiment_dir is None:
            raise MlflowException("Could not find experiment with ID %s" % experiment_id,
                                  databricks_pb2.RESOURCE_DOES_NOT_EXIST)
        meta = read_yaml(experiment_dir, FileStore.META_DATA_FILE_NAME)
        if experiment_dir.startswith(self.trash_folder):
            meta["lifecycle_stage"] = Experiment.DELETED_LIFECYCLE
        else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 8

Instances


Project Name: mlflow/mlflow
Commit Name: 7e9cbfcdb8167b63dc0ed4887bf8ff230239da08
Time: 2018-10-05
Author: 39497902+dbczumar@users.noreply.github.com
File Name: mlflow/store/file_store.py
Class Name: FileStore
Method Name: _get_experiment


Project Name: mlflow/mlflow
Commit Name: 7e9cbfcdb8167b63dc0ed4887bf8ff230239da08
Time: 2018-10-05
Author: 39497902+dbczumar@users.noreply.github.com
File Name: mlflow/store/file_store.py
Class Name: FileStore
Method Name: restore_experiment


Project Name: mlflow/mlflow
Commit Name: 7e9cbfcdb8167b63dc0ed4887bf8ff230239da08
Time: 2018-10-05
Author: 39497902+dbczumar@users.noreply.github.com
File Name: mlflow/store/file_store.py
Class Name: FileStore
Method Name: create_experiment


Project Name: mlflow/mlflow
Commit Name: 7e9cbfcdb8167b63dc0ed4887bf8ff230239da08
Time: 2018-10-05
Author: 39497902+dbczumar@users.noreply.github.com
File Name: mlflow/store/file_store.py
Class Name: FileStore
Method Name: _get_run_info


Project Name: mlflow/mlflow
Commit Name: 7e9cbfcdb8167b63dc0ed4887bf8ff230239da08
Time: 2018-10-05
Author: 39497902+dbczumar@users.noreply.github.com
File Name: mlflow/store/file_store.py
Class Name: FileStore
Method Name: create_run


Project Name: mlflow/mlflow
Commit Name: 7e9cbfcdb8167b63dc0ed4887bf8ff230239da08
Time: 2018-10-05
Author: 39497902+dbczumar@users.noreply.github.com
File Name: mlflow/store/file_store.py
Class Name: FileStore
Method Name: _get_run_files


Project Name: mlflow/mlflow
Commit Name: 7e9cbfcdb8167b63dc0ed4887bf8ff230239da08
Time: 2018-10-05
Author: 39497902+dbczumar@users.noreply.github.com
File Name: mlflow/store/file_store.py
Class Name: FileStore
Method Name: delete_experiment