-
Notifications
You must be signed in to change notification settings - Fork 90
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] Improve check of scans.tsv for BrainVision files #1034
Conversation
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.
would it be possible to add a test or is it too much to ask?
@agramfort, yep, i can do that. i renamed it to wip, and i'll write a test in the morning. noticed this at neurohackademy when working through an ieeg example |
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.
looks like you have some Windows issue:
ValueError: 'eeg\\sub-01_ses-01_task-testing_acq-01_run-01_eeg.vhdr' is not in list
probably as_posix
needs to be called on the Path somewhere, to normalize to /
instead of \
on win.
Co-authored-by: Stefan Appelhoff <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #1034 +/- ##
==========================================
- Coverage 95.19% 95.17% -0.02%
==========================================
Files 25 25
Lines 3805 3811 +6
==========================================
+ Hits 3622 3627 +5
- Misses 183 184 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
so i'm looking into this and it seems like we read in the tsv file but we don't change filename from str to a filepath obj that would be insensitive to the os. should we be working with filepath all over the place? also, if you see an easy fix, please let me know, i keep bumping into different windows errors on the testing front. not sure if i have any more time to debug it at the moment |
ok all good ! CI failure with doc is also in main branch |
thanks @teonbrooks ! |
PR Description
This PR closes #1033.
Merge checklist
Maintainer, please confirm the following before merging: