Skip to content

Commit edfef32

Browse files
committed
Remove invalid caching for cached workchain
1 parent d59ce04 commit edfef32

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

aiida_sssp_workflow/workflows/verifications.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -371,14 +371,14 @@ def on_terminated(self):
371371
self.report(f"{type(self)}: remote folders will not be cleaned")
372372
return
373373

374-
if "verify_caching" in self.ctx:
375-
# For calcjobs in _caching, to prevent it from being used by second run after
376-
# remote work_dir cleaned. I invalid it from caching if it is being cleaned.
377-
invalid_calcs = operate_calcjobs(
378-
self.ctx.verify_caching, operator=invalid_cache, all_same_nodes=True
379-
)
380-
381-
if invalid_calcs:
382-
self.report(
383-
f"Invalid cache of `_caching` (even nonmenon) workflow's calcjob node: {' '.join(map(str, invalid_calcs))}"
384-
)
374+
# if "verify_caching" in self.ctx:
375+
# # For calcjobs in _caching, to prevent it from being used by second run after
376+
# # remote work_dir cleaned. I invalid it from caching if it is being cleaned.
377+
# invalid_calcs = operate_calcjobs(
378+
# self.ctx.verify_caching, operator=invalid_cache, all_same_nodes=True
379+
# )
380+
381+
# if invalid_calcs:
382+
# self.report(
383+
# f"Invalid cache of `_caching` (even nonmenon) workflow's calcjob node: {' '.join(map(str, invalid_calcs))}"
384+
# )

0 commit comments

Comments
 (0)