Skip to content

Commit 64accf5

Browse files
authored
ref: remove output after task is run to save memory
1 parent d5d6236 commit 64accf5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pydra/engine/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ def _run(self, rerun=False, **kwargs):
470470
self.hooks.post_run_task(self, result)
471471
self.audit.finalize_audit(result)
472472
save(odir, result=result, task=self)
473+
self.output_ = None
473474
# removing the additional file with the chcksum
474475
(self.cache_dir / f"{self.uid}_info.json").unlink()
475476
# # function etc. shouldn't change anyway, so removing

0 commit comments

Comments
 (0)