Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for changing job_jobid_status.tsv filename #19

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

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