Skip to content
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

Merged

Conversation

AliceJoubert
Copy link
Contributor

@AliceJoubert AliceJoubert commented Oct 7, 2024

  • Move to module specific to OASIS1
  • Remove parts specific to OASIS3 (never used)
  • Add tests.

@AliceJoubert AliceJoubert self-assigned this Oct 7, 2024
@AliceJoubert AliceJoubert marked this pull request as ready for review October 9, 2024 09:29
Copy link
Member

@NicolasGensollen NicolasGensollen left a 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.

@AliceJoubert
Copy link
Contributor Author

Thanks for the review @NicolasGensollen , do you see anything else ?

Copy link
Member

@NicolasGensollen NicolasGensollen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @AliceJoubert !

@NicolasGensollen NicolasGensollen merged commit a7fa12e into aramis-lab:dev Oct 9, 2024
12 of 15 checks passed
@AliceJoubert AliceJoubert deleted the create_test_sessions_oasis1 branch October 9, 2024 15:12
@NicolasGensollen NicolasGensollen added this to the v0.9.2 milestone Oct 24, 2024
NicolasGensollen pushed a commit to NicolasGensollen/clinica that referenced this pull request Oct 24, 2024
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants