-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[MRG] convert surface using python. #3273
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
90ebbab
[WIP] convert surface using python.
jaeilepp 534cceb
Remade the whole thing.
jaeilepp f6e6beb
Fixes.
jaeilepp 63a628d
Read/write volume info
jaeilepp 1990994
Tests
jaeilepp c5f6db1
Fixes.
jaeilepp e5cfb1e
Volume info for tri surface.
jaeilepp 9a14a56
Checks for nibabel.
jaeilepp 2757b9e
Added flash_path to make_flash_bem.
jaeilepp 17a0707
Test for make_flash_bem.
jaeilepp a42e1c7
Fix to testing.
jaeilepp 8931e10
Fix.
jaeilepp d891b9f
Better fix.
jaeilepp 443160f
Fix doc.
jaeilepp 7d65468
Testing.
jaeilepp c4f07ae
Fixes.
jaeilepp 1723797
Address comments. Updated dataset.
jaeilepp 0196b28
Address comments.
jaeilepp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -212,7 +212,6 @@ def test_watershed_bem(): | |
|
|
||
|
|
||
| @ultra_slow_test | ||
| @requires_mne | ||
| @requires_freesurfer | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah :) |
||
| @sample.requires_sample_data | ||
| def test_flash_bem(): | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
should probably have a version number associated with it (whatever the next release will be) since even old
nibabelwon't work, right?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.
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.
Not sure what you mean -- I just mean that the string should say what version people need. Because it doesn't have that currently, people with the current or an older release of nibabel will be confused by this warning
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.
This works with older nibabel too as it default to mne function to write the geometry when nibabel is too old.
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.
Actually, this works with older nibabel too. So this earlier comment is not true. Only the functions related to reading writing
.surffiles uses the new nibabel/defaults to mne. This is reading an mgz file. So basically, if nibabel is not installed, it works the same way as in mne0.12 (omitting vol_info).