Skip to content

Commit

Permalink
Update generic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Sep 10, 2024
1 parent b5bb1c2 commit a9ec76b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyiron_base/jobs/job/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,10 @@ def restart_file_dict(self, val: str) -> None:
if isinstance(k, File):
k = str(k)
if isinstance(v, File):
v = str(v)
self._restart_file_dict[k] = os.path.abspath(v)
v = v.abspath()
else:
v = os.path.abspath(v)
self._restart_file_dict[k] = v

@property
def exclude_nodes_hdf(self) -> list:
Expand Down

0 comments on commit a9ec76b

Please sign in to comment.