Skip to content

Commit

Permalink
accepted satra's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed Feb 29, 2024
1 parent 4e1d4a8 commit 7f69636
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pydra/engine/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,7 @@ def _run(self, rerun=False, environment=None, **kwargs):
# removing the additional file with the checksum
(self.cache_dir / f"{self.uid}_info.json").unlink()
# Restore original values to inputs
for field_name, field_value in orig_inputs.items():
setattr(self.inputs, field_name, field_value)
self.inputs = attr.evolve(self.inputs, **orig_inputs)
os.chdir(cwd)
self.hooks.post_run(self, result)
# Check for any changes to the input hashes that have occurred during the execution
Expand Down

0 comments on commit 7f69636

Please sign in to comment.