Skip to content

Commit

Permalink
Ensure working directory is created when copying
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrv committed Aug 11, 2021
1 parent 8a613de commit ee51a9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyiron_base/job/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@ def _internal_copy_to(self, project=None, new_job_name=None, new_database_entry=
new_job_core._parent_id = self._parent_id
new_job_core._master_id = self._master_id
new_job_core._status = self._status
new_job_core.create_working_directory()
if new_job_name == self.job_name:
self.project_hdf5.copy_to(destination=hdf5_project.open(".."))
else:
Expand Down

0 comments on commit ee51a9d

Please sign in to comment.