-
Notifications
You must be signed in to change notification settings - Fork 85
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
[MRG] add ieeg tests #118
[MRG] add ieeg tests #118
Conversation
Codecov Report
@@ Coverage Diff @@
## master #118 +/- ##
==========================================
+ Coverage 93.38% 94.23% +0.84%
==========================================
Files 14 14
Lines 922 971 +49
==========================================
+ Hits 861 915 +54
+ Misses 61 56 -5
Continue to review full report at Codecov.
|
9de4bd0
to
38d6887
Compare
@jasmainak see here. really simple approach, but adds some iEEG coverage and should be a good starting point for more thorough work on our iEEG parts. |
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.
Overall, I like the approach. Thanks for taking a stab at it
gain in coverage appears to be really tiny. Why is that @sappelhoff ? |
I'll do some more work tomorrow, looking at Travis CI, my fears have come true ;-) iEEG is not really implemented yet |
okay if it's really a pain to fix, maybe we should do this after release ... I think we should update the landing page of our website to indicate what modalities we support (saying iEEG is experimental) and the file formats supported (and those that aren't yet ... ?). Just a nice way to show off all the work we have put in. |
@sappelhoff I'm setting the PR back to WIP since Travis is not happy. |
+1 but regarding file formats, only MEF3 and NWB are not supported yet ... and these fall under "experimental iEEG" anyways, so I'd limit the paragraph to mentioning the modalities. |
03a2285
to
0828af6
Compare
this will not pass due to:
Fixing this would require some change to our current channels.tsv files --> more columns. We could add these columns and fill them with Opinions? |
But this would be only for iEEG or is it also for EEG and MEG? |
it would be convenient to have it for all, but I think the reason that we have this error from the validator is because @choldgraf wrote these lines quite a while ago, and they are probably subject to change soon ... so I wouldn't want to change MNE-BIDS so much just contingent on this error. So yes, perhaps we can use it just for iEEG? |
btw, the other error
will hopefully be fixed soon, see my attempts at clarification here: bids-standard/bids-validator#510 (comment) |
fine by me. But maybe if we can extract some minimal information rather than have Btw, I'd prefer to get #106 merged first because it touches upon many parts of the code base and rebasing it is a pain. |
+1, reviewing it right now |
mne_bids/tests/test_mne_bids.py
Outdated
@@ -205,6 +201,15 @@ def test_vhdr(): | |||
overwrite=True) | |||
assert len([f for f in os.listdir(data_path) if op.isfile(f)]) == 0 | |||
|
|||
# Also cover iEEG | |||
# We use the same data and pretend that eeg channels are ecog | |||
raw.set_channel_types({'FP1': 'ecog'}) |
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.
same here
amazing! sounds great to me |
why is CircleCI failing? |
after the merge of #129 it should be green again. |
@sappelhoff can you remove the merge commit so that we have a clean history? |
940c3d3
to
44f2658
Compare
I did, but does it matter if we use "squash and merge" anyways? |
44f2658
to
86340c0
Compare
I don't know. Do we have an official policy of "squash and merge" now? cc @teonbrooks ? I'm fine with anything that merges on tip of |
@jasmainak this PR is ready from my side. Feel free to merge if you are happy :-) |
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.
Other than that, looks good to me.
@teonbrooks or @choldgraf merge if you are happy |
lgtm, thanks @sappelhoff! |
closes #79