Skip to content

FIX: vertices - #8611

Merged
larsoner merged 4 commits into
mne-tools:masterfrom
GuillaumeFavelier:fix/vertices
Dec 7, 2020
Merged

FIX: vertices#8611
larsoner merged 4 commits into
mne-tools:masterfrom
GuillaumeFavelier:fix/vertices

Conversation

@GuillaumeFavelier

Copy link
Copy Markdown
Contributor

This PR fixes hemi logic in stc.

Closes #8609

@GuillaumeFavelier GuillaumeFavelier self-assigned this Dec 4, 2020
@larsoner

larsoner commented Dec 4, 2020

Copy link
Copy Markdown
Member

Can you add a unit test that would have caught this? Having to hear about these sorts of problems from CircleCI is not as nice as local pytest mne/viz

Comment thread mne/viz/_3d.py Outdated
@@ -1907,8 +1907,8 @@ def _plot_stc(stc, subject, surface, hemi, colormap, time_label,
for hi, hemi in enumerate(hemis):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think with this change you no longer need hi or enumerate

@hoechenberger

hoechenberger commented Dec 7, 2020

Copy link
Copy Markdown
Member

@GuillaumeFavelier We got a CI segfault on Py3.8, not sure if related?

@GuillaumeFavelier

Copy link
Copy Markdown
Contributor Author

I'll investigate because it's close to the test I modified.

@larsoner

larsoner commented Dec 7, 2020

Copy link
Copy Markdown
Member

Restarted -- I think I've seen a spurious macOS test failure like this before. Probably something having to do with closing windows / garbage collection / Qt / VTK

@larsoner larsoner added this to the 0.22 milestone Dec 7, 2020
@larsoner
larsoner merged commit a00ed0a into mne-tools:master Dec 7, 2020
@larsoner

larsoner commented Dec 7, 2020

Copy link
Copy Markdown
Member

Thanks @GuillaumeFavelier ! Hopefully CircleCI goes back to green now

@GuillaumeFavelier
GuillaumeFavelier deleted the fix/vertices branch December 7, 2020 13:39
@GuillaumeFavelier GuillaumeFavelier mentioned this pull request Dec 7, 2020
86 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI, MAINT: circle failing again

5 participants