Skip to content
Snippets Groups Projects
Commit 52cd3f5c authored by Izzard, Robert Dr (Maths & Physics)'s avatar Izzard, Robert Dr (Maths & Physics)
Browse files

fix typo in logical check

parent 661edaaa
No related branches found
No related tags found
No related merge requests found
...@@ -301,7 +301,8 @@ class HPC(condor,slurm): ...@@ -301,7 +301,8 @@ class HPC(condor,slurm):
status = self.HPC_get_status() status = self.HPC_get_status()
print("Job status",status) print("Job status",status)
if self.grid_options['HPC_force_join'] != 0 or status != "finished": if self.grid_options['HPC_force_join'] == 0 and \
status != "finished":
# job did not finish : save a snapshot # job did not finish : save a snapshot
print("This job did not finish (status is {status}) : cannot join".format(status=status)) print("This job did not finish (status is {status}) : cannot join".format(status=status))
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment