Error transforming OASIS DATA to BIDS

23 views
Skip to first unread message

Unai Torres

unread,
Nov 14, 2024, 12:54:44 PM11/14/24
to Clinica
Hi, 
I am trying to follow the tutorial of ClinicaDL to learn how Clinica works. I have prepared my Python environment with Miniconda and I have installed Clinica. I have also installed dcm2niix. I have downloaded the example dataset with 4 images from OASIS. When I try to convert the data into the BIDS format I have the following error:
FileNotFoundError: [Errno 2] No such file or directory: '/home/unai/data_oasis/database/ClinicalData/oasis_cross-sectional-5708aa0a98d82080.xlsx'

The oasis_cross-sectional.csv file is stored in that path, but I do not no why the system tells me that there is not the file.

Kind regards,
Unai

Nicolas Gensollen

unread,
Nov 15, 2024, 5:22:45 AM11/15/24
to Clinica
Hi,

The Oasis dataset has evolved and the clinical data are now stored in an excel file named "oasis_cross-sectional-5708aa0a98d82080.xlsx" instead of the previous "oasis_cross-sectional.csv".
Because of this, we have updated the oasis-to-bids converter of Clinica to be able to work with this file (see this PR: https://github.com/aramis-lab/clinica/pull/1321).
The dataset that you download when following this tutorial is a subset of an old version of Oasis that we serve from one of our servers. This subset has not been updated and this is why you get this error.
We should update this sample dataset to make it work with the new version of the converter. Thanks for reporting this !

Best,
Nicolas Gensollen

Nicolas Gensollen

unread,
Nov 15, 2024, 5:46:23 AM11/15/24
to Clinica
I have updated the sample dataset on the server.
I tried running the download and conversion instructions from the tutorial and everything went well.
Let me know if you're still having issues.

Best,
Nicolas Gensollen

Unai Torres

unread,
Nov 15, 2024, 6:02:01 AM11/15/24
to Clinica
Thank you Nicolas!
Reply all
Reply to author
Forward
0 new messages