astronomy-commons / hipscat-import

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

Catalog import leaves an empty directory behind #298

Open delucchi-cmu opened 2 months ago

delucchi-cmu commented 2 months ago

Bug report

At the end of the import process, we remove the intermediate directory contents, but not the intermediate directory itself (if created outside the final output directory). If we're creating that intermediate directory on our own, outside the final directory, remove it if we're removing the other intermediate files.

See also #297

Before submitting Please check the following: