Print

Print


Hi!

Thanks Matthew and Steve for your very fast reply. 


Matthew,

I'm using Ubuntu 12.04 on a 64 bit machine. I've changed the first line of the script but the error still appears.


Steve,
If I type X`cat ../../subjects_for_ica.txt`X what I get is the list of images on which ICA was previously run (and of course, those that I'm using use for the dual regression).
I've also tried it without that quotes, but nothing changed. Finally, I have no errors on the log directory.

As said in my last post, I've been inspecting the dual regression script. It calls the fsl_sub script different times. The first time is to execute drA:

ID_drA=`$FSLDIR/bin/fsl_sub -T 10 -N drA -l $LOGDIR -t ${LOGDIR}/drA`, which is executed correctly.

The second time is to execute drB, the merging of all masks, which is 
ID_drB=`$FSLDIR/bin/fsl_sub -j $ID_drA -T 5 -N drB -l $LOGDIR ${LOGDIR}/drB`
And it's here where it crashes.

So, my concern is why not to put a -t before ${LOGDIR}/drB, if in every other calling of the fsl_sub function you use the -t to give the function the script that has to be called. When calling the upper command alone it doesn't work, unless I add the -t.
I've changed this line so that ID_drB=`$FSLDIR/bin/fsl_sub -j $ID_drA -T 5 -N drB -l $LOGDIR -t ${LOGDIR}/drB`and it correctly creates the mask and maskALL files and continues with what I suppose is the normal execution. Could you please tell me whether this is a valid solution?

Thanks in advance,

Eduard