Add support for changing job_jobid_status.tsv filename #19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It would be helpful to be able to change the name of the
job_jobid_status.tsv
file. (In particular, I would find it useful to be able to allow it to use the job name.) Currently, it's only possible to change the directory the file is saved in using--status-dir
, or to suppress the file entirely using--suppress-stats-file
. I've added code todSQBatch.py
that should allow the user to specify the name of the stats file using a command line argument--stats-file
. The default value is the same as the current hard-coded filename,job_jobid_status.tsv
, so this should be backward compatible. In addition,%j
can be used to specify the job id when specifying this argument, as it does in SBATCH options. I've also updatedREADME.md
to reflect this change.