Skip to content

Commit

Permalink
Merge pull request #204 from pyiron/flux_enforce_int
Browse files Browse the repository at this point in the history
Flux enforce integer job IDs
  • Loading branch information
jan-janssen committed Jul 10, 2023
2 parents 774e989 + 5e3ca18 commit 20deb1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pysqa/wrapper/flux.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ def get_queue_status_command(self):

@staticmethod
def get_job_id_from_output(queue_submit_output):
return JobID(queue_submit_output.splitlines()[-1].rstrip().lstrip().split()[-1])
return int(
JobID(queue_submit_output.splitlines()[-1].rstrip().lstrip().split()[-1])
)

@staticmethod
def convert_queue_status(queue_status_output):
Expand Down

0 comments on commit 20deb1d

Please sign in to comment.