Skip to content

MRG, FIX: Dont require PySurfer for PyVista#7266

Merged
larsoner merged 6 commits intomne-tools:masterfrom
larsoner:surfer
Jan 30, 2020
Merged

MRG, FIX: Dont require PySurfer for PyVista#7266
larsoner merged 6 commits intomne-tools:masterfrom
larsoner:surfer

Conversation

@larsoner
Copy link
Copy Markdown
Member

@larsoner larsoner commented Jan 29, 2020

Closes #7239
Closes #7198

@mmagnuski feel free to try it

@GuillaumeFavelier this refactors some of the logic of how the renderer namespace is populated. This makes it so that we don't need to nest imports in the backend submodules anymore, and I think makes the logic/flow a bit clearer. WIP because I'm not 100% sure it's correct, feel free to look and let me know if it makes sense to you.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 29, 2020

Codecov Report

Merging #7266 into master will decrease coverage by <.01%.
The diff coverage is 87.38%.

@@            Coverage Diff             @@
##           master    #7266      +/-   ##
==========================================
- Coverage    89.8%   89.79%   -0.01%     
==========================================
  Files         447      447              
  Lines       80488    80502      +14     
  Branches    12866    12875       +9     
==========================================
+ Hits        72279    72289      +10     
- Misses       5385     5387       +2     
- Partials     2824     2826       +2

@larsoner larsoner changed the title WIP, FIX: Dont require PySurfer for PyVista MRG, FIX: Dont require PySurfer for PyVista Jan 29, 2020
@larsoner
Copy link
Copy Markdown
Member Author

Okay I think this should work now, @GuillaumeFavelier feel free to look. In theory it might also help with #7198

Copy link
Copy Markdown
Contributor

@GuillaumeFavelier GuillaumeFavelier left a comment

Choose a reason for hiding this comment

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

LGTM. I tested it too and everything is fine for me.Thanks for refactoring.

@larsoner larsoner merged commit 03eaec1 into mne-tools:master Jan 30, 2020
@larsoner larsoner deleted the surfer branch January 30, 2020 20:05
AdoNunes pushed a commit to AdoNunes/mne-python that referenced this pull request Apr 6, 2020
* FIX: Dont require PySurfer for PyVista

* FIX: Fix report

* FIX: Restore test

* ENH: Even cleaner

* FIX: Cast

* FIX: Fix check
AdoNunes pushed a commit to AdoNunes/mne-python that referenced this pull request Apr 6, 2020
* FIX: Dont require PySurfer for PyVista

* FIX: Fix report

* FIX: Restore test

* ENH: Even cleaner

* FIX: Cast

* FIX: Fix check
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.

error when trying to use pyvista to plot stc

2 participants