You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Some researchers may choose to omit a particular modality of interest, such as DWI. This prevents the pipeline from being able to process the remainder of the dataset into BIDS format.
To Reproduce
Steps to reproduce the behavior:
Fresh poetry installation of clinica
Fresh download of GENFI as per clinica docs instructions. Omit DWI modality scans in the download.
Set breakpoints in genfi_to_bids_utils.py for the function _find_duplicate_run
Run clinica convert genfi-to-bids [OPTIONS] DATASET_DIRECTORY BIDS_DIRECTORY
Expected behavior
Should not erase all rows from the pandas DataFrame.
Thanks for reporting. Indeed, the genfi-to-bids converter performs the conversion of all supported modalities without a way for the user to select a subset of them. Contrarily to other converters, there is no -m option in the command line and the converter hasn't been implemented with this feature in mind initially.
Are you still able to convert all the modalities ?
If yes, I think we should flag this issue as "feature request" rather than "bug" since the documentation is clear about downloading all modalities.
This issue is considered stale because it has not received further activity for the last 14 days. You may remove the inactive label or add a comment, otherwise it will be closed after the next 14 days.
Describe the bug
Some researchers may choose to omit a particular modality of interest, such as DWI. This prevents the pipeline from being able to process the remainder of the dataset into BIDS format.
To Reproduce
Steps to reproduce the behavior:
poetry
installation ofclinica
genfi_to_bids_utils.py
for the function_find_duplicate_run
clinica convert genfi-to-bids [OPTIONS] DATASET_DIRECTORY BIDS_DIRECTORY
Expected behavior
Should not erase all rows from the pandas DataFrame.
The culprit appears to be this line:
A re-factoring of core logic (i.e. what if users do not want modality _____ to be present?) may be necessary.
Screenshots
![image](https://private-user-images.githubusercontent.com/57411571/372089562-6171a5d2-99bc-4c32-8290-a82f329b514e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTk0MjcsIm5iZiI6MTczOTM1OTEyNywicGF0aCI6Ii81NzQxMTU3MS8zNzIwODk1NjItNjE3MWE1ZDItOTliYy00YzMyLTgyOTAtYTgyZjMyOWI1MTRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDExMTg0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE5ZTg2N2YwNDM3N2U2MzY3ZDlmOWViY2EyYzFmMWExYjllZWQ4MDI0NjhiNGJhNThhY2ZlMmU0NTM1YzVjNzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Qt7khJvEHjnz1GddDo5HwLeWzPWTfH4SJejz0N0kZPM)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: