From ab2de376edfc8cf05bce352cfde41edbd29d81f8 Mon Sep 17 00:00:00 2001 From: Jorge Blanco Alonso Date: Tue, 26 Nov 2024 18:50:31 +0100 Subject: [PATCH] Add comment to address: If different reports are needed during restore, this workflow needs to be adapted. --- neurodamus/node.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neurodamus/node.py b/neurodamus/node.py index 6661e5f3..1dc2557e 100644 --- a/neurodamus/node.py +++ b/neurodamus/node.py @@ -945,6 +945,8 @@ def _report_build_params(self, rep_name, rep_conf, target, pop_offsets_alias_pop def _report_write_coreneuron_config(self, rep_conf, target, rep_params): target_spec = TargetSpec(rep_conf["Target"]) + # For restore case with no change in reporting, we can directly update the end time. + # Note: If different reports are needed during restore, this workflow needs to be adapted. if SimConfig.restore_coreneuron: CoreConfig.update_tstop(rep_params.name, target_spec.name, rep_params.end) return True