If a log file is deleted but an output directory is not analysis will crash when attempting to append to log
carlhiggs opened this issue · 0 comments
carlhiggs commented
If a log file is deleted but an output directory is not analysis will crash when attempting to append to log.
This could happen if someone has attempted to restart analysis by dropping the database and deleting contents of the output folder rather than the output folder itself.
Instead of crashing, a new log file should just be created.
The change is simple,
instead of
this should just be
a+
then if the file doesn't exist, it will be created