astronomy-commons / hipscat-import

HiPSCat import - generate HiPSCat-partitioned catalogs
https://hipscat-import.readthedocs.io
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Remove temporary directory when all intermediate files are deleted #382

Closed camposandro closed 2 weeks ago

camposandro commented 3 weeks ago

If the user provides a temporary directory that was created outside of the output directory, and all intermediate parquet / resume log files have been deleted at the end of the pipeline, remove that same directory. Closes #298.

Code Quality

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.73%. Comparing base (d87041a) to head (42a9877). Report is 8 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #382 +/- ## ======================================= Coverage 99.73% 99.73% ======================================= Files 26 26 Lines 1496 1507 +11 ======================================= + Hits 1492 1503 +11 Misses 4 4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.