Additionally I suggest (not in this PR) changing the default value for TMP_DIR from os.getcwd() to OUTPUT_DIR/tmp because:
the current working directory may not necessarily be on a disk that has lots of space, esp. in the docker usage where only the input and output directories are mounted to the container.
the user is guaranteed to be aware that the output directory must have lots of space to hold the results.
input directory could also be considered but it is common to mount input directories in read-only mode onto docker containers to avoid accidental file corruption.
See #52.
Additionally I suggest (not in this PR) changing the default value for
TMP_DIR
fromos.getcwd()
toOUTPUT_DIR/tmp
because: