-
Notifications
You must be signed in to change notification settings - Fork 62
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
Apply some polish to model construction. #2134
Conversation
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.
Could you add a line to doc/python/mechanisms.rst
?
Done and fixed the examples to the new nice syntax ;) |
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, tests are not passing though...
* C/V error in doc * Syntax error in example * Try to appease gcc-12 in CI
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.
Amazing!
Make single cell model a bit more convenient by allowing to build from {morph | segment_tree, decor, {labels}.
Allow kwargs to construct mechanisms (density, scaled, junction, synapse, voltage), thus we can write
instead of