-
Notifications
You must be signed in to change notification settings - Fork 76
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
[TEST][REF] Move functions specific to OASIS1 converter in a dedicated utils file and add unit tests #1313
[TEST][REF] Move functions specific to OASIS1 converter in a dedicated utils file and add unit tests #1313
Conversation
AliceJoubert
commented
Oct 7, 2024
•
edited
Loading
edited
- Move to module specific to OASIS1
- Remove parts specific to OASIS3 (never used)
- Add tests.
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.
Thanks @AliceJoubert !
The code looks good. I made a couple suggestions on the tests in order to improve readability and use fixtures in a more "traditional" way.
test/unittests/iotools/converters/oasis_to_bids/test_oasis_to_bids_utils.py
Outdated
Show resolved
Hide resolved
test/unittests/iotools/converters/oasis_to_bids/test_oasis_to_bids_utils.py
Outdated
Show resolved
Hide resolved
test/unittests/iotools/converters/oasis_to_bids/test_oasis_to_bids_utils.py
Outdated
Show resolved
Hide resolved
Thanks for the review @NicolasGensollen , do you see anything else ? |
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.
LGTM, thanks @AliceJoubert !
…d utils file and add unit tests (aramis-lab#1313) * Move functions from bids_utils to oasis_to_bids_utils + create test script * WIP 1 * Remove unused optional argument subj_to_remove * WIP2 * Finish tests * Fix * Add last test * Changes upon suggestions * Changes 2