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

change logic a bit

parent 9d8411c1
No related branches found
No related tags found
No related merge requests found
...@@ -342,8 +342,8 @@ class HPC(condor,slurm): ...@@ -342,8 +342,8 @@ class HPC(condor,slurm):
print("We can join") print("We can join")
try: try:
# touch joiningfile # touch joiningfile
x = True if grid_options['HPC_force_join'] == 1 else False if grid_options['HPC_force_join'] == 0:
pathlib.Path(joiningfile).touch(exist_ok=x) pathlib.Path(joiningfile).touch(exist_ok=False)
try: try:
print("Calling HPC_join_from_files()") print("Calling HPC_join_from_files()")
self.HPC_join_from_files(self,joinfiles) self.HPC_join_from_files(self,joinfiles)
......
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