I am running into a problem on a 2nd level FSL script. Subject-specific .fsf files are getting generated just fine based on a template.fsf. But when feat is run on the template, either in the script or from a command line, it is not completing correctly. No errors are shown in the log, but the copeX.gfeat directories are not generating. However, if I open the subject-specific .fsf file in the FEAT GUI and run it from there, it runs just fine. Any ideas of why it works from the GUI but not from the command line?
for i in $TEMPLATE; do sed -e 's@OUTPUT@'$Output'@g'\ -e 's@RunFile_01@'$RunFile_01'@g'\ -e 's@RunFile_02@'$RunFile_02'@g'\ <$i> ${FSLDATADIR}/2nd_$1_$2.fsf done
It's hard to tell without exactly seeing the .fsf file that failed. If you send the path to me separately, I can try to figure out what may have happened.