diff --git a/pysqa/wrapper/flux.py b/pysqa/wrapper/flux.py index c0ea425a..1c84171e 100644 --- a/pysqa/wrapper/flux.py +++ b/pysqa/wrapper/flux.py @@ -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):