-
Notifications
You must be signed in to change notification settings - Fork 41
Adds support for Section target reports #419
Conversation
|
Can one of the admins verify this patch? |
2 similar comments
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
I added sergiorg-hpc username to CI plans so that we won't have above message and CI will trigger all build plans. |
pramodk
left a comment
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.
some minor comments/feedback.
|
@jorblancoa and I have introduced several changes that addresses the suggestions of the review, thank you so much for the insight! To clarify, we have tested again generating all the reports on a small test case, and compared the result with NEURON. This is just to confirm that the latest changes didn't introduce any errors. |
|
Important: The CI is not passing because of the NEURON version issue (i.e., the https://bbpcode.epfl.ch/ci/blue/organizations/jenkins/hpc.SimulationStack/detail/hpc.SimulationStack/2687/pipeline |
pramodk
left a comment
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.
2 minor comments otherwise LGTM
Co-authored-by: Pramod Kumbhar <pramod.kumbhar@epfl.ch>
Co-authored-by: Alexandru Săvulescu <46521150+alexsavulescu@users.noreply.github.com>
Co-authored-by: Alexandru Săvulescu <46521150+alexsavulescu@users.noreply.github.com>
alexsavulescu
left a comment
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
Co-authored-by: Alexandru Săvulescu <46521150+alexsavulescu@users.noreply.github.com>
Co-authored-by: Alexandru Săvulescu <alexandru.savulescu@epfl.ch>
NEURON_BRANCH=master
|
please retest |
|
So the conclusion is NEURON_BRANCH is somehow not working in this case? |
Yes, there is some issue with the multiline description and the way the NEURON_BRANCH is filtered in the CI. I opened a PR in the |
|
please retest |
1 similar comment
|
please retest |
|
Hi there! Thanks to @iomaganaris' great work, we have the CI back on track and now it can be confirmed that the PR changes passes it. Nonetheless, the following PR is the only one that evaluates the support for Is there any additional changes you would like to integrate, or can we merge this already? If so, can someone approve the PR, please? |
|
Thank you everyone for the help and insight! |
* Adds support for Axon, Dendrite, and Apical sections in reports * Prevents to generate an empty list when the section is empty * Adds support for Section in a Compartment * Introduces suggestions by code review in PR * Updates description of the enum Co-authored-by: Pramod Kumbhar <pramod.kumbhar@epfl.ch> * Adds an error when the Section type is unknown Co-authored-by: Alexandru Săvulescu <46521150+alexsavulescu@users.noreply.github.com> * Adds ref to the section_type_str Co-authored-by: Alexandru Săvulescu <46521150+alexsavulescu@users.noreply.github.com> * Adds an error when the target type is unknown * Switches abort() for nrn_abort() in the configuration parser Co-authored-by: Alexandru Săvulescu <46521150+alexsavulescu@users.noreply.github.com> * Switched assert() to nrn_assert() Co-authored-by: Alexandru Săvulescu <alexandru.savulescu@epfl.ch> * Extends the previous commit NEURON_BRANCH=master Co-authored-by: Pramod Kumbhar <pramod.s.kumbhar@gmail.com> Co-authored-by: Pramod Kumbhar <pramod.kumbhar@epfl.ch> Co-authored-by: Alexandru Săvulescu <46521150+alexsavulescu@users.noreply.github.com> Co-authored-by: Alexandru Săvulescu <alexandru.savulescu@epfl.ch> CoreNEURON Repo SHA: BlueBrain/CoreNeuron@9dfaabb
This commit adds support to enable reports for both a
Target Section, or aTarget Compartmentwith aSectioninside. The behaviour is the same as in NEURON, providing the middle value in the first case, while providing all the values in the second case with Compartment.To summarize the changes, the solution extends the purpose of one boolean in the
report.conffile to encode new types of targets, such asaxon,axonComp(forCompartments), and so on. This guarantees file compatibility with previous versions of CoreNEURON. The new encoded type is retrieved as anenum classand used to determine the type of report.More information, including instructions on how to request the reports, can be found in the ticket:
https://bbpteam.epfl.ch/project/issues/browse/CNEUR-362?focusedCommentId=131257&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-131257
CI_BRANCHES:NEURON_BRANCH=master