I ran the FBA pipeline for a cohort of 20 subjects and everything went smoothly. But when I added 4 more subjects and error occured when running the population_template command.
The error showed as followng in the non-linear registration step of the population_template command.
mrregister: SH image input pair /fba/template/fod_input/Subject_005.mif, nl_template06_c0.mif
mrregister: performing FOD registration
mrregister: [ERROR] Permission denied
mrregister: [ERROR] error opening image “warps_05/Subject_005.mif”
I checked the permission for the warps_05/Subject_005.mif and they are
I tried to use chmod 777 for all the files within warps_05 and used the -continue option to run the population_template. It went through the non-linear registration using the files in warps_05/. But error happened again
when the program generated new files in the folder warps_06 and tried to use them. It seemed that the population_template command does the non-linear registration several times and generate new warps file at each iterative step.
Can anybody help me out of this? Or is there any other possible way to solve this problem?
Thank you very much!