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
Empty dataset detected. Clinical data cannot be extracted. #483
Comments
BTW my python==3.7 clinica==0.5.2 |
Hi @theguardsgod, This message arises upon trying to extract the Thank you |
it still doesn't work, the verbose information is following |
BTW, I had tried clinica==0.4.1 before, it doesn't work to convert data with the issue in #479 |
Could you please show the list of files for one of the subjects? |
└── ./135_S_4356 |
duplicate of #479 |
I was able to reproduce, investigation in progress. |
hi @theguardsgod, I downloaded the data again from the adni website and was able to successfully convert the data for participant 003_S_1074. It seems that the data was incomplete for conversion previously (did not have images that passed the quality check?) but that it has been changed recently. Please make sure to download all three of "original" "preprocessed" and "postprocessed" for conversion to function. Let me know if this helps. Thanks! |
Thank you, it works. But does it mean that I need to download all images of a subject so that I can use clinicalDL framework |
Great, than you, I will be closing the issue. The images Clinica chooses for conversion for each modality is explained in the docs. I don't have in mind a minimal set that would function right not but I suppose that it should be possible. For clinicaDL, you would only need the BIDs or CAPs folders of course, and not the raw data. |
When I convert adni to bids with following command clinica convert adni-to-bids -m T1 ./dataset/ADNI ./clinical ./BIDS. it says Empty dataset detected. Clinical data cannot be extracted.
(CDL) [chenyuliu@pbcmlg01 CDL]$ clinica convert adni-to-bids -m T1 ./dataset/ADNI ./clinical ./BIDS /home/chenyuliu/anaconda3/anaconda3/envs/CDL/lib/python3.7/site-packages/clinica/iotools/converters/adni_to_bids/adni_to_bids_cli.py:67: DtypeWarning: Columns (19,20,21,104,105,106) have mixed types.Specify dtype option on import or set low_memory=False. force_new_extraction, /home/chenyuliu/anaconda3/anaconda3/envs/CDL/lib/python3.7/site-packages/clinica/iotools/converters/adni_to_bids/adni_to_bids.py:107: DtypeWarning: Columns (19,20,21,104,105,106) have mixed types.Specify dtype option on import or set low_memory=False. "ADNI", clinic_specs_path, clinical_data_dir, bids_ids Traceback (most recent call last): File "/home/chenyuliu/anaconda3/anaconda3/envs/CDL/bin/clinica", line 8, in <module> sys.exit(main()) File "/home/chenyuliu/anaconda3/anaconda3/envs/CDL/lib/python3.7/site-packages/clinica/cmdline.py", line 78, in main cli() File "/home/chenyuliu/anaconda3/anaconda3/envs/CDL/lib/python3.7/site-packages/click/core.py", line 1128, in __call__ return self.main(*args, **kwargs) File "/home/chenyuliu/anaconda3/anaconda3/envs/CDL/lib/python3.7/site-packages/click/core.py", line 1053, in main rv = self.invoke(ctx) File "/home/chenyuliu/anaconda3/anaconda3/envs/CDL/lib/python3.7/site-packages/click/core.py", line 1659, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/chenyuliu/anaconda3/anaconda3/envs/CDL/lib/python3.7/site-packages/click/core.py", line 1659, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/chenyuliu/anaconda3/anaconda3/envs/CDL/lib/python3.7/site-packages/click/core.py", line 1395, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/chenyuliu/anaconda3/anaconda3/envs/CDL/lib/python3.7/site-packages/click/core.py", line 754, in invoke return __callback(*args, **kwargs) File "/home/chenyuliu/anaconda3/anaconda3/envs/CDL/lib/python3.7/site-packages/clinica/iotools/converters/adni_to_bids/adni_to_bids_cli.py", line 74, in cli subjects_list_path=subjects_list, File "/home/chenyuliu/anaconda3/anaconda3/envs/CDL/lib/python3.7/site-packages/clinica/iotools/converters/adni_to_bids/adni_to_bids.py", line 129, in convert_clinical_data bids_ids, clinic_specs_path, clinical_data_dir, bids_subjs_paths File "/home/chenyuliu/anaconda3/anaconda3/envs/CDL/lib/python3.7/site-packages/clinica/iotools/converters/adni_to_bids/adni_utils.py", line 722, in create_adni_sessions_dict raise ValueError("Empty dataset detected. Clinical data cannot be extracted.") ValueError: Empty dataset detected. Clinical data cannot be extracted.
The text was updated successfully, but these errors were encountered: