We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00432d2 + d2e7971 commit 0aa1b4fCopy full SHA for 0aa1b4f
dpgen/dispatcher/PBS.py
@@ -16,7 +16,7 @@ def check_status(self) :
16
= self.context.block_call ("qstat " + job_id)
17
err_str = stderr.read().decode('utf-8')
18
if (ret != 0) :
19
- if str("qstat: Unknown Job Id") in err_str :
+ if str("qstat: Unknown Job Id") in err_str or str("Job has finished") in err_str:
20
if self.check_finish_tag() :
21
return JobStatus.finished
22
else :
0 commit comments