Skip to content

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

@patbohn

Description

@patbohn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions