-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
handle _Brain size gracefully with pyvista #7435
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.
LGTM @drammock, thanks for taking care of it
Any idea why the CIs are not happy? |
Nevermind. This has been reported in Teemu/pytest-sugar#187 |
424948f
to
7964494
Compare
@GuillaumeFavelier this has been rebased with the pytest-sugar fix, ready to go when CIs are green. |
Codecov Report
@@ Coverage Diff @@
## master #7435 +/- ##
==========================================
+ Coverage 89.97% 90.12% +0.14%
==========================================
Files 454 454
Lines 82322 81499 -823
Branches 13022 13020 -2
==========================================
- Hits 74073 73450 -623
+ Misses 5409 5220 -189
+ Partials 2840 2829 -11 |
Thanks @drammock |
closes #7426
Also removes
u"
at beginning of docstrings in the edited file.It turns out that
pysurfer.Brain
doesn't really check size at all:https://github.com/nipy/PySurfer/blob/master/surfer/viz.py#L557-L561
So I just did what seemed sensible to me.