Skip to content

Conversation

@mawilson1234
Copy link

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 to dSQBatch.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 updated README.md to reflect this change.

It would be nice to be able to change the filename of the stats file to something more informative. (In particular, it would be nice to be able to include the job name instead of just the jobid.) This is an attempt to do that.
It would be nice to add support for changing the stats file name. This is an attempt to do that while maintaining backward compatibility.
Fix argparse message
documentation of stats-file name arg
update arg description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant