Closed TonyBagnall closed 3 months ago
file writing in CI causes crashes occasionally
https://github.com/aeon-toolkit/aeon/actions/runs/9521220064/job/26248164199?pr=1675 FAILED aeon/datasets/tests/test_tsad_data_loader.py::test_load_anomaly_detection_unavailable - OSError: Cannot save file into a non-existent directory: '/home/runner/work/aeon/aeon/aeon/datasets/local_data'
it should write to a temp directory instead, e.g. test_write uses something like this
with tempfile.TemporaryDirectory() as tmp: write_to_tsfile( X=X, path=tmp, y=y, problem_name=problem_name, regression=regression )
Describe the bug
file writing in CI causes crashes occasionally
https://github.com/aeon-toolkit/aeon/actions/runs/9521220064/job/26248164199?pr=1675 FAILED aeon/datasets/tests/test_tsad_data_loader.py::test_load_anomaly_detection_unavailable - OSError: Cannot save file into a non-existent directory: '/home/runner/work/aeon/aeon/aeon/datasets/local_data'
it should write to a temp directory instead, e.g. test_write uses something like this