We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cbc16c commit 2fd8154Copy full SHA for 2fd8154
pysqa/wrapper/sge.py
@@ -85,7 +85,7 @@ def leaf_to_dict(leaf):
85
@staticmethod
86
def get_job_id_from_output(queue_submit_output: str) -> int:
87
"""Extracts the job ID from the output of the job submission command."""
88
- return int(queue_submit_output.splitlines()[-1].rstrip().lstrip().split()[-1])
+ return int(queue_submit_output.strip().split(".")[0])
89
90
def render_submission_template(
91
self,
0 commit comments