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.
1 parent bb7c03c commit 0d71eaeCopy full SHA for 0d71eae
src/impactlab_tools/utils/paralog.py
@@ -101,7 +101,9 @@ def claim(self, dirpath):
101
status_path = StatusManager.claiming_filepath(dirpath, self.jobname)
102
try:
103
with open(status_path, 'w') as fp:
104
- fp.write(f"{os.getpid():d} {self.jobtitle}: {self.logpath}\n")
+ fp.write(
105
+ f"{os.getpid():d} {self.jobtitle}: {self.logpath}\n"
106
+ )
107
except Exception:
108
print("CAUGHT A WILD EXCEPTION BUT IGNORING IT WITHOUT LOGGING IT!")
109
return False # Writing error: cannot calim directory
0 commit comments