"Too many .nii.gz files in each subject's directory" error while reading in participants

Submitted by Lisa_Kr on

Hello,

I am new to DPARSFA and I hope you can help me. I got the following error after specifying my working directory and starting directory (FunImg): "Too many .nii.gz files in each subject's directory, should only keep one 4D .nii.gz file". However, it is only a test run with one subject, so I have one .nii file for this subject in FunImg folder and one .nii.gz file for this subject in the T1Img folder (so one file in each folder in total). What can cause the problem?

 

Thanks a lot!

 

Lisa

YAN Chao-Gan

Tue, 12/08/2015 - 00:31

Hi,

Please paste a snapshot of how your files are organized.

Alternatively, you can extract .nii.gz to .nii and have another try.

Best,

Chao-Gan

Lisa_Kr

Thu, 12/10/2015 - 16:57

In reply to by YAN Chao-Gan

Deae Chao-Gan,

 

thanks for your reply! I solved it. I just didn't create extra folders for the participants inside of FunImg and T1Img folders. Now i have done it and it works.

 

Best,

 

Lisa

zeynab.al

Tue, 08/02/2016 - 00:36

Although I'm relatively new to DPARSFA I have used it multiple times before however for some reason it is no longer working. I get an error saying that there are too many .nii.gz files in each subject's directory and should only keep one 4D .nii.gz file.

I don't use 4D images and the folders have been organized in the same way as I have done multiple times before.

I use NIFTI images (180 volumes) and my working directory is DPARSFA_TMD, under that I have my FunRaw folder with 98 individual folders in there. Each folder has 180 NIFTI images. In the FunRaw folder I also have a text file with all the subjects listed - that is how I load up the subjects.

This has worked before but no longer working. I've tried this using MATLAB2015a, MATLAB2015b and MATLAB2013b - none work.

Could you please assist me.

Thanks!