-
Notifications
You must be signed in to change notification settings - Fork 45
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
Correct trigger channel indexing while reading AcqKnowledge files. #275
Conversation
Codecov Report
@@ Coverage Diff @@
## master #275 +/- ##
==========================================
- Coverage 93.61% 93.51% -0.11%
==========================================
Files 10 10
Lines 861 863 +2
==========================================
+ Hits 806 807 +1
- Misses 55 56 +1
|
The CLI's docstring and default value for |
Co-authored-by: Taylor Salo <tsalo006@fiu.edu>
Co-authored-by: Taylor Salo <tsalo006@fiu.edu>
Co-authored-by: Taylor Salo <tsalo006@fiu.edu>
LGTM!!! althought remmeber bugs PR only need one reviewer, you can merge already |
@vinferrer I didn't realize that the
|
Closes #272, although the fixed problem is not the same - still, thanks @tsalo!
Turns out the algorithm was meant to extract the channel after the one of the trigger since we modified phys2bids to have
-chtrig
human-friendly (rather than pythonic).Proposed Changes
chtrig
index is lowered by one in place when extracting the timeseries from the trigger channel.