megalut / sewpy

Source Extractor Wrapper for Python
GNU General Public License v3.0
22 stars 11 forks source link

tmpfiles #20

Open rmbielby opened 5 years ago

rmbielby commented 5 years ago

Hi, I've noticed sewpy doesn't seem to be cleaning up after itself once it's finished. I was running a big batch job performing completeness estimates using sewpy and the /tmp/ folder ended up chock full of sewpyworkdir* folders (hard disk was already close to capacity, so my system completely fell over and wouldn't boot). I've written in a line to remove these as I'm going in my own script as a workaround, but assume the code shouldn't be leaving old files lying around. Maybe I did something dozy and the script is already supposed to remove its own tmpfiles though. Rich

mtewes commented 4 years ago

Hi Rich, that's a good point, indeed sewpy currently does not clean /tmp. To be fixed in the next iteration on the code. Thanks for the notice! Malte