Skip to content

Commit

Permalink
Add comment to address:
Browse files Browse the repository at this point in the history
If different reports are needed during restore, this workflow needs to be adapted.
  • Loading branch information
jorblancoa committed Nov 26, 2024
1 parent 79b6c0a commit ab2de37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions neurodamus/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab2de37

Please sign in to comment.