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 13, 2024
1 parent 5e87cf2 commit f763f97
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyiron_base/jobs/job/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,10 @@ def restart_file_dict(self, val: str) -> None:
else:
self._restart_file_dict = {}
for k, v in val.items():
self._restart_file_dict[k] = File(v).abspath()
if isinstance(v, File):
self._restart_file_dict[k] = v.abspath()
else:
self._restart_file_dict[k] = File(v).abspath()

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

0 comments on commit f763f97

Please sign in to comment.