Closed lnblum closed 7 months ago
Hi Laura,
Thanks for your feedback! Sorry to hear that you ran into to issues with the temp directory. It should also work to use the -t
option and point to a different location for the temp directory [default: /var/tmp
] so that it is on the same disk? Would that also be a solution for you in this case, or is there perhaps something more going on?
Best regards, Adam
Hi Adam,
Yes the -t option also works for this. Thanks for the reminder!
Laura
Hi,
Thanks for your work on this tool, the method is a nice advancement!
I was running revelio on an HPC and received this error, which is related to the temp directory being a different disk. I think this issue may affect others working on computing clusters.
I tested a fix for this error, which works for me: using shutil.move instead of os.replace. Here is an explanation from the shutil.move documentation: "If the destination is on the current filesystem, then os.rename() is used. Otherwise, src is copied to dst using copy_function and then removed."
I couldn't open a PR, but here is the minor change I made:
If you think this is appropriate perhaps consider this modification.
Best, Laura