-
Notifications
You must be signed in to change notification settings - Fork 61
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
Arbor cable cell exporter and backend support in BluePyOpt #1959
Conversation
…_hoc.py) for simplecell example (adapted from python/example/single_cell_swc.py)
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.
Nice work, a few comments
- Some of the utilities seems overly specific, eg
media_distal_radii
- Can we write them in terms of the public API and shuffle them to an external project?
- Or -- failing that -- generalise them?
- Please add tests and documentation
- Consider rebuilding
prune_tags
on Allow editing morphologies #1957, which does similar things.
I added the two related issues to be closed |
All requests should be addressed, |
Changed the |
0317f3b
to
c235844
Compare
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.
Only nitpicks left!
@@ -0,0 +1,13 @@ | |||
# BluePyOpt layer-5 pyramidal cell with axon-replacement | |||
|
|||
This example was created in an environment with the `bluepyopt` package installed (see [installation instructions](https://github.com/BlueBrain/BluePyOpt#installation)). A cell model with parameters as published by [Markram et al., "Reconstruction and simulation of neocortical microcircuitry", Cell 163.2 (2015): 456–492](http://www.cell.com/abstract/S0092-8674%2815%2901191-5) (see [L5PC.ipynb](https://github.com/BlueBrain/BluePyOpt/blob/master/examples/l5pc/L5PC.ipynb)) can be exported with |
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.
One last question on this: the licensing is unproblematic I hope?
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.
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.
I assume this falls under the BSD license of the entire repo? For me it's ok if you keep the reference to the original notebooks.
Are you storing any of the MOD files of the L5PC, remember that these have their own licenses.
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.
Thank you. I didn't store any of the L5PC mechs in Arbor, but rather took the ones from the built-in BBP catalogue. This is also the ones that I used in the Arbor-Neuron validation (and actually I have even tested the K_Tst
and K_Pst
with Neuron to make sure the difference between the simulators we found is not due to the NMODL code).
@lukasgd could you
? |
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.
I checked the tutorial, looks good! Nice use of the GUI!
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.
A few comments, nothing serious. Rest is good.
Thanks for the feedback. @brenthuisman, I've resolved all points I've addressed in 622f204. Feel free to reopen any if you'd like further changes. |
I've swapped the label-dict and decor arguments to the |
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
@lukasgd would you like to write the commit message and merge the whole affair? |
The test failure is not critical, it's our old friend; should be gone in master |
This is functionality to support Arbor simulations with cells optimized with Neuron in BluePyOpt as implemented in BlueBrain/BluePyOpt#393 and related to #1839.
It includes exported versions and example scripts for the
simplecell
andl5pc
examples from BluePyOpt. The format is detailed in the referenced PR. The functionality added to Arbor includes pruning a particular tag from a morphology (going through a segment tree) and calculating an approximation for the radius of the axon replacement.Closes #1839
Closes #1221