Skip to content

Commit

Permalink
Big fix for #95 (#96)
Browse files Browse the repository at this point in the history
bug fix for #95
  • Loading branch information
ehinrichs authored Dec 17, 2024
1 parent cb1b2d5 commit ba360a6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pydfnworks/pydfnworks/general/dfnworks.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,12 @@ def __init__(self,
self.print_log("--> Creating DFN Object: Complete" )

def __del__(self):
self.print_log(f"--> {self.local_jobname} completed/exited " )
try:
print(f"--> {self.local_jobname} completed/exited " )
pass
except Exception:
print("--> Job completed/exited")
pass

# elapsed = time() - self.start_time
# time_sec = elapsed
Expand Down

0 comments on commit ba360a6

Please sign in to comment.