- changed status to resolved
Remove the unzipped folder from the MakeDb output
Issue #26
resolved
MakeDb makes a folder with the zip file output in the current directory, rather than --outdir. We don't need to retain this "temporary" folder - use the tempfile package to handle this safely. Also, check if the problem with working on zipped files is resolved (truncation of large files). If so, this would be a better solution than tempfile.
Comments (4)
-
-
reporter Using the tempfile or zipfile library would be better.
-
reporter - changed status to open
I think maybe we should leave this open (even though it's fixed), as a reminder to do a safer implementation later.
-
- changed status to resolved
Extracts to temp directory, which is later deleted.
- Log in to comment
Might have done it in a questionable way, but check if input file is zip, if it is, remove the folder of the same name after running MakeDb. Seems to work fine.