Skip to content

Conversation

@GuillaumeFavelier
Copy link
Contributor

This PR fixes hemi logic in stc.

Closes #8609

@GuillaumeFavelier GuillaumeFavelier self-assigned this Dec 4, 2020
@larsoner
Copy link
Member

larsoner commented Dec 4, 2020

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

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
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
Copy link
Member

hoechenberger commented Dec 7, 2020

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

@GuillaumeFavelier
Copy link
Contributor Author

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

@larsoner
Copy link
Member

larsoner commented Dec 7, 2020

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
Copy link
Member

larsoner commented Dec 7, 2020

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