Skip to content

FIX: Fix set surf - #232

Merged
larsoner merged 1 commit into
nipy:masterfrom
larsoner:fix-set-surf
Mar 29, 2018
Merged

larsoner merged 1 commit into
nipy:masterfrom
larsoner:fix-set-surf

Conversation

@larsoner

Copy link
Copy Markdown
Contributor

No description provided.

@larsoner

Copy link
Copy Markdown
Contributor Author

@christianbrodbeck can you confirm this fixes the bug you pointed out in mne-tools/mne-python#5012 ?

@christianbrodbeck

Copy link
Copy Markdown
Collaborator

Yes this fixes it. But it's not necessary for older versions. Must be that the dev version of mayavi makes a copy where the earlier version used a view (hence in-place update of the array in load_geometry()).

@larsoner

Copy link
Copy Markdown
Contributor Author

Ahh -- it would actually make sense for them to do this, it should be faster to only upload things that are known to have changed on update, which you can't for in-place array changes. It might have been luck that it worked before. That is my suspicion anyway based on my limitied graphics optimization knowledge. But feel free to open a Mayavi bug if you're curious.

@codecov-io

codecov-io commented Mar 29, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #232 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #232      +/-   ##
=========================================
+ Coverage   74.29%   74.3%   +0.01%     
=========================================
  Files           7       7              
  Lines        2439    2440       +1     
  Branches      487     487              
=========================================
+ Hits         1812    1813       +1     
  Misses        454     454              
  Partials      173     173

@larsoner
larsoner merged commit b02dc93 into nipy:master Mar 29, 2018
@larsoner
larsoner deleted the fix-set-surf branch March 29, 2018 01:52
@christianbrodbeck

Copy link
Copy Markdown
Collaborator

Yeah that's plausible that that's behind the change. Glad you caught it so quickly!

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.

3 participants