0f8b7f0966a1ebb4e7c848268e904402818891ef,openml/runs/run.py,OpenMLRun,to_filesystem,#OpenMLRun#Any#Any#,131

Before Change



        os.makedirs(directory, exist_ok=True)
        if not os.listdir(directory) == []:
            raise ValueError("Output directory should be empty")

        run_xml = self._create_description_xml()
        predictions_arff = arff.dumps(self._generate_arff_dict())

After Change



        os.makedirs(directory, exist_ok=True)
        if not os.listdir(directory) == []:
            raise ValueError(
                "Output directory {} should be empty".format(os.path.abspath(directory))
            )

        run_xml = self._create_description_xml()
        predictions_arff = arff.dumps(self._generate_arff_dict())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: openml/openml-python
Commit Name: 0f8b7f0966a1ebb4e7c848268e904402818891ef
Time: 2019-04-08
Author: feurerm@informatik.uni-freiburg.de
File Name: openml/runs/run.py
Class Name: OpenMLRun
Method Name: to_filesystem


Project Name: RasaHQ/rasa
Commit Name: ecd6c066654af4ebab411b33f97c1d1611336464
Time: 2018-11-14
Author: tom@rasa.com
File Name: rasa_core/config.py
Class Name:
Method Name: load


Project Name: RasaHQ/rasa
Commit Name: 177db420284462c54fd1cc89b457f2ee3715dbc0
Time: 2020-10-07
Author: tom@rasa.com
File Name: rasa/shared/utils/validation.py
Class Name:
Method Name: validate_training_data_format_version