Closed ptormene closed 1 week ago
The trick we were using to avoid deleting the temporary uploaded file too early was not reliable in 100% of cases, so I changed the approach, copying the file to the temporary directory before running the calculation.
I've also added test data for aristotle tests, to make it easier to run tests locally. I opened a companion PR also on mosaic side (https://gitlab.openquake.org/hazard/mosaic/mosaic/-/merge_requests/68), with an additional test using station data.
The trick we were using to avoid deleting the temporary uploaded file too early was not reliable in 100% of cases, so I changed the approach, copying the file to the temporary directory before running the calculation.
I've also added test data for aristotle tests, to make it easier to run tests locally. I opened a companion PR also on mosaic side (https://gitlab.openquake.org/hazard/mosaic/mosaic/-/merge_requests/68), with an additional test using station data.