-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
bugSomething isn't workingSomething isn't workingconverterenhancementNew feature or requestNew feature or request
Description
Bug Description
When the ADNI-to-BIDS conversion is launched on ADNI data from the new IDA LONI interface (since October 2024), it fails because certain viscodes (nv, sc, scmri) are not supported by the converter.
It is important from them to be supported as part of the ADNI-to-BIDS converter upgrade.
To Reproduce
Steps to reproduce the behavior:
- Download a subset of ADNI containing files with associated viscode "nv", "sc" or "scmri" in the clinical data, or the whole dataset, from the new IDA LONI interface.
- Convert the set of data using the current converter with the following command :
clinica convert adni-to-bids DATASET_DIRECTORY CLINICAL_DATA_DIRECTORY BIDS_DIRECTORY - After some conversion time, see the printed error.
Expected behavior
An error as the one shown below should be encountered :
ValueError: The viscode nv is not correctly formatted. Expected a session identifier of the form 'MXXX', or a baseline identifier among {'bl', 'm0'}.
Software Info
- OS: Linux
- Clinica version: 0.9.4
- Python version: 3.11.13
Additional context
Resolving this issue could involve modifying the function _viscode_to_session from /clinica/clinica/converters/_utils.py.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingconverterenhancementNew feature or requestNew feature or request