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

Submitting jobs with the "cluster" option fails due to job_id parsing #12

Open
patbohn opened this issue Aug 25, 2022 · 0 comments
Open

Comments

@patbohn
Copy link

patbohn commented Aug 25, 2022

Dear Slurmpy devs,

thank you so much for the neat package, it has greatly reduced the complexity of establishing my workflows. However, I noticed a small limitation with it, in that when one supplies the optional "--cluster" parameter to slurm, the resulting job_id will contain this name, and thus the conversion of the job_id to int fails here:

j_id = int(res.split()[-1])

Not sure if it actually is required to have this job_id returned as int, could a string also work?

Best wishes,
Patrick

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

No branches or pull requests

1 participant