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

[MAINT] Missing unit tests for bids_utils #1206

Merged
merged 6 commits into from
Jun 12, 2024

Conversation

AliceJoubert
Copy link
Contributor

@AliceJoubert AliceJoubert commented Jun 7, 2024

Create a unit test for the function create_participants_df from bids_utils to test before refactoring it. Parametrized only with datasets ADNI, OASIS1 and OASIS3 since the function is only used for ADNI and OASIS1.

@AliceJoubert AliceJoubert self-assigned this Jun 7, 2024
@AliceJoubert AliceJoubert marked this pull request as ready for review June 12, 2024 09:42
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 for adding these tests @AliceJoubert !
I just have two very small suggestions, but otherwise the PR LGTM.

test/unittests/iotools/test_bids_utils.py Outdated Show resolved Hide resolved
test/unittests/iotools/test_bids_utils.py Outdated Show resolved Hide resolved
@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 42dcbd5 into aramis-lab:dev Jun 12, 2024
13 of 15 checks passed
@AliceJoubert AliceJoubert deleted the bids_utils_tests branch June 12, 2024 14:48
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.

None yet

2 participants