-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow API configuration to preserve the axons during setup #155
Conversation
This comment has been minimized.
This comment has been minimized.
I wrote here my findings: https://bbpteam.epfl.ch/project/issues/browse/BBPBGLIB-984. Let me know if you prefer the reports directly here instead |
d8bbb28
to
ed80d0b
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Just one question: is there any need to add a CLI option for this parameter?
not from me |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Logfiles from GitLab pipeline #223382 (:white_check_mark:) have been uploaded here! Status and direct links: |
## Context With BlueConfig one could ask a circuit to preserve the axons in full detail via a config entry `DetailedAxons`. However, that options was never made globally available via a flag, which enables it also for Sonata simulations. This PR covers that. ## Scope - Introduce the new Neurodamus top-level option `keep_axon` - Propagate to all Detailed neuron circuits which don't set the option explicitly. ## Testing in the testing environment under `test/ngv_wip` with the patched `emodels_atp_1p4` one must see **Script:** ```python nd = neurodamus.Neurodamus( "simulation_config.json", keep_axon=True, auto_init=False, cleanup_atexit=False, logging_level=2, ) nd.init() nd.run() ``` **Output:** ``` [VERB] -> Keeping axons ENABLED ... [INFO] Executing actions after stdinit... [INFO] Now deleting the axon! REPLACING AXON! [INFO] Now deleting the axon! REPLACING AXON! ``` ## Review * [x] PR description is complete * [x] Coding style (imports, function length, New functions, classes or files) are good * [ ] Unit/Scientific test added * [ ] Updated Readme, in-code, developer documentation Co-authored-by: Weina Ji <[email protected]>
Context
With BlueConfig one could ask a circuit to preserve the axons in full detail via a config entry
DetailedAxons
.However, that options was never made globally available via a flag, which enables it also for Sonata simulations.
This PR covers that.
Scope
keep_axon
Testing
in the testing environment under
test/ngv_wip
with the patchedemodels_atp_1p4
one must seeScript:
Output:
Review