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

[ENH] ADNI-to-BIDS converts only subjects in the provided ADNI directory if no subjects list is given #1196

Conversation

AliceJoubert
Copy link
Contributor

@AliceJoubert AliceJoubert commented May 29, 2024

This PR adresses the behavior described in issue #398.

  • New functions were added in adni_utils.py to define the subjects list to convert, either from the given raw ADNI dataset or a subject list. Handles cases where there is no corresponding clinical data.
  • Unit tests were also added.

@AliceJoubert AliceJoubert added enhancement New feature or request converter labels May 29, 2024
@AliceJoubert AliceJoubert self-assigned this May 29, 2024
@AliceJoubert AliceJoubert marked this pull request as ready for review May 31, 2024 13:28
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 !

I made a first pass and I think this looks good.
I made some small suggestions to simplify things but nothing major.

clinica/iotools/converters/adni_to_bids/adni_utils.py Outdated Show resolved Hide resolved
clinica/iotools/converters/adni_to_bids/adni_utils.py Outdated Show resolved Hide resolved
clinica/iotools/converters/adni_to_bids/adni_utils.py Outdated Show resolved Hide resolved
clinica/iotools/converters/adni_to_bids/adni_utils.py Outdated Show resolved Hide resolved
clinica/iotools/converters/adni_to_bids/adni_utils.py Outdated Show resolved Hide resolved
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 b142b96 into aramis-lab:dev Jun 3, 2024
14 of 15 checks passed
@AliceJoubert AliceJoubert deleted the adni2bids_only_on_directory_participants branch June 3, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
converter enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants