-
Notifications
You must be signed in to change notification settings - Fork 80
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
Exposed the invert_dim parameter #391
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #391 +/- ##
==========================================
- Coverage 86.71% 86.51% -0.20%
==========================================
Files 27 27
Lines 1219 1231 +12
==========================================
+ Hits 1057 1065 +8
- Misses 162 166 +4 ☔ View full report in Codecov by Sentry. |
Tests seem to be failing due to the fact that |
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 tiny comment.
brainrender/actors/neurons.py
Outdated
@@ -50,6 +51,7 @@ def __init__( | |||
:param color: str, | |||
:param neuron_radius: float, radius of axon/dendrites | |||
:param soma_radius: float, radius of soma | |||
:param invert_dims: bool, invert dimensions of neuron |
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 this docstring be expanded? It's not immediately obvious what "inverting dimensions" means.
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.
Updated! Hopefully, that's a bit clearer.
Before submitting a pull request (PR), please read the contributing guide.
Please fill out as much of this template as you can, but if you have any problems or questions, just leave a comment and we will help out :)
Description
What is this PR
Why is this PR needed?
The invert_dim parameter for loading data into
Neuron
actors was hard coded to beTrue
.What does this PR do?
Exposes the
invert_dim
parameter in theNeuron
constructor, setting the default to beTrue
References
#181
How has this PR been tested?
Visual inspection, all existing tests pass.
Is this a breaking change?
No.
Does this PR require an update to the documentation?
No.
Checklist: