File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,13 @@ def delete_job_command(self):
28
28
@property
29
29
def get_queue_status_command (self ):
30
30
return ["qstat" , "-x" ]
31
-
31
+
32
32
@staticmethod
33
33
def get_job_id_from_output (queue_submit_output ):
34
- # strip last line from output, leading and trailing whitespaces, and separates the queue id from the stuff after "."
34
+ # strip last line from output, leading and trailing whitespaces, and separates the queue id from the stuff after "."
35
35
# Adjust if your system doesn't have output like below!
36
36
# e.g. qsub run_queue.sh -> "12347673.gadi-pbs", the below returns 12347673
37
37
# It must return an integer for it to not raise an exception later.
38
- return int (queue_submit_output .splitlines ()[- 1 ].rstrip ().lstrip ().split (sep = "." )[0 ])
38
+ return int (
39
+ queue_submit_output .splitlines ()[- 1 ].rstrip ().lstrip ().split (sep = "." )[0 ]
40
+ )
You can’t perform that action at this time.
0 commit comments