-
Notifications
You must be signed in to change notification settings - Fork 12
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
[WIP] refactor narrowing, add test, run narrow before copying #29
base: master
Are you sure you want to change the base?
Conversation
will try to review in the coming days makes me think that this kind of thing should probably be delegated to bids-matlab which is an update and better version of spm_bids |
but already thanks for adding tests!!! |
Note to self:
|
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.
Do you think you could rewrite this test to be used directly by matlab testing framework?
Ideally with setup and teardown functions.
https://nl.mathworks.com/help/matlab/matlab_prog/write-test-using-setup-and-teardown-functions.html
If you don't have the bandwidth, let me know and I can give it a go
Seems that we have a path issue when testing it: |
that's because the new m file you have added is not copied into the container: Line 41 in 68e5b93
|
also address issue #27 and could supersede pull request #28
I pulled out the
meta
length check into it's own function and added a test. I also moved thenarrow_participants
call before temporary files are copied.The test is only checking narrowing works, not any down stream effects. And I'm worried I've likely overlooked some important considerations. Please feel free to ruthlessly reject