Closed espentrydal closed 7 months ago
Hi @espentrydal
Thanks for reporting. I'm not sure what's causing this bug atm.
Could you provide the content of the pipeline's input BIDS folder (which should be the output folder of the ADNI to BIDS converter if I followed correctly) ? (the output of tree
would do just fine as I'm mostly interested in the names of the files/folders).
I'm also wondering whether you converted your dataset to BIDS with the same version of Clinica (0.8.0) or whether this was the result of a previous conversion with an older version of clinica ?
Thanks for getting back to me. I've uploaded the output of tree
of the bids-folder:
bids-folder.txt
The conversion was made with an earlier version, 0.7.x (not sure of the exact version).
The -tsv file listing the inputs:
❯ cat test_dwi.tsv
participant_id session_id
sub-ADNI002S0413 ses-M132
sub-ADNI002S1155 ses-M126
Thanks for the information @espentrydal ! 👍
I downloaded sub-ADNI002S0413
again and did the full analysis you're trying to do (adni-to-bids converter and dwi-preproc-using-t1 on session M132).
I first encountered an issue in the converter as it seems like one clinical data CSV file has now a different name than before (DXSUM_PDXCONV_ADNIALL
seems to be named DXSUM_PDXCONV
now... Did you noticed that too ?).
I'll open a dedicated issue tomorrow.
After this, I was able to reproduce the error, which occurs at the end of the DWI preprocessing pipeline. I believe this is a bug I introduced while refactoring the pipeline a few months ago. 😓 I'm not sure why this wasn't caught by our non regression test suite (as this pipeline takes a lot of time and ressources to complete, it tends to fail a lot in our CI, so I wouldn't be surprised if it never finished successfully since I made the modifications...).
I'll work on fixing these two issues tomorrow and will make a patch release afterwards.
Thanks a lot @NicolasGensollen !
The data I downloaded uses the old name, so that must be new. But I had to remove a date-suffix that had been added to all clinical data csv-files to make the conversion work.
@espentrydal I also believe this is new. The date-suffix issue should have been fixed in clinica 0.7.7.
@espentrydal I just made a patch release of Clinica (version 0.8.1
) which should fix both issues (the one with the converter and the one with the DWI pipeline).
I'll close this but feel free to re-open if you're still facing the issue with 0.8.1
.
Great, thanks!
Describe the bug dwi-preprocessing pipeline fails with the below errors. The images have earlier been processed with the adni to bids converter.
To Reproduce
clinica run dwi-preprocessing-using-t1 -tsv ./adni/data/test_dwi.tsv ./adni/bids ./adni/caps-dwi-test -wd ./tmp
Expected behavior I expected the pipeline to complete successfully.
Stdout/stderr
Desktop (please complete the following information):
Other logs pypeline.log:
❯
nipypecli show crash-20240419-143826-espen-rename_into_caps.a1-176ae1d4-7341-4c36-831c-72abd677330b.pklz
Please advice if there is anything I can do to debug this issue further. Any help much appreciated! Thanks!