Print

Print


Hi,

I recently downloaded FSL 5.0 and used the latest installer and the fslio patch. Everything works great on first-level. Especially the new registrations look very good. However, on second level I get the error message pasted below. All first-level directories have identical number of contrasts. All subjects at first-level were analysed using input from fsl_motion_outliers. Have anyone come across the same error and solved the problem? Thanks. 

Regards,
Benny

_


/bin/cp /tmp/feat_enygFb.fsf design.fsf

/usr/local/fsl/bin/feat_model design

mkdir .files;cp /usr/local/fsl/doc/fsl.css .files;ln -s /usr/local/fsl/doc/images .files/images

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat2_pre   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat -gfeatprep

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat2_pre   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope1.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope1.feat -I 1 -flame1
5911

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3b_flame -j 5911 -t ./.flame
6323

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3c_flame -j 6323  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope1.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope1.feat -flame3
6341

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat4_post -j 6341  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope1.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope1.feat -poststats 0 1
child process exited abnormally
    while executing
"if { [ catch {



for { set argindex 1 } { $argindex < $argc } { incr argindex 1 } {
    switch -- [ lindex $argv $argindex ] {

	-I {
	    incr argin..."
    (file "/usr/local/fsl/bin/feat" line 119)

/usr/local/fsl/bin/fsl_sub -T 1 -l logs -N feat5_stop   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope1.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope1.feat -stop
6542

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat2_pre   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope2.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope2.feat -I 2 -flame1
6708

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3b_flame -j 6708 -t ./.flame
7120

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3c_flame -j 7120  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope2.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope2.feat -flame3
7138

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat4_post -j 7138  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope2.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope2.feat -poststats 0 1
child process exited abnormally
    while executing
"if { [ catch {



for { set argindex 1 } { $argindex < $argc } { incr argindex 1 } {
    switch -- [ lindex $argv $argindex ] {

	-I {
	    incr argin..."
    (file "/usr/local/fsl/bin/feat" line 119)

/usr/local/fsl/bin/fsl_sub -T 1 -l logs -N feat5_stop   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope2.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope2.feat -stop
7339

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat2_pre   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope3.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope3.feat -I 3 -flame1
7505

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3b_flame -j 7505 -t ./.flame
7917

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3c_flame -j 7917  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope3.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope3.feat -flame3
7935

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat4_post -j 7935  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope3.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope3.feat -poststats 0 1
child process exited abnormally
    while executing
"if { [ catch {



for { set argindex 1 } { $argindex < $argc } { incr argindex 1 } {
    switch -- [ lindex $argv $argindex ] {

	-I {
	    incr argin..."
    (file "/usr/local/fsl/bin/feat" line 119)

/usr/local/fsl/bin/fsl_sub -T 1 -l logs -N feat5_stop   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope3.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope3.feat -stop
8136

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat2_pre   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope4.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope4.feat -I 4 -flame1
8302

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3b_flame -j 8302 -t ./.flame
8714

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3c_flame -j 8714  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope4.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope4.feat -flame3
8732

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat4_post -j 8732  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope4.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope4.feat -poststats 0 1
child process exited abnormally
    while executing
"if { [ catch {



for { set argindex 1 } { $argindex < $argc } { incr argindex 1 } {
    switch -- [ lindex $argv $argindex ] {

	-I {
	    incr argin..."
    (file "/usr/local/fsl/bin/feat" line 119)

/usr/local/fsl/bin/fsl_sub -T 1 -l logs -N feat5_stop   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope4.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope4.feat -stop
8933

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat2_pre   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope5.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope5.feat -I 5 -flame1
9099

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3b_flame -j 9099 -t ./.flame
9511

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3c_flame -j 9511  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope5.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope5.feat -flame3
9529

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat4_post -j 9529  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope5.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope5.feat -poststats 0 1
child process exited abnormally
    while executing
"if { [ catch {



for { set argindex 1 } { $argindex < $argc } { incr argindex 1 } {
    switch -- [ lindex $argv $argindex ] {

	-I {
	    incr argin..."
    (file "/usr/local/fsl/bin/feat" line 119)

/usr/local/fsl/bin/fsl_sub -T 1 -l logs -N feat5_stop   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope5.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope5.feat -stop
9730

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat2_pre   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope6.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope6.feat -I 6 -flame1
9896

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3b_flame -j 9896 -t ./.flame
10308

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3c_flame -j 10308  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope6.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope6.feat -flame3
10326

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat4_post -j 10326  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope6.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope6.feat -poststats 0 1
child process exited abnormally
    while executing
"if { [ catch {



for { set argindex 1 } { $argindex < $argc } { incr argindex 1 } {
    switch -- [ lindex $argv $argindex ] {

	-I {
	    incr argin..."
    (file "/usr/local/fsl/bin/feat" line 119)

/usr/local/fsl/bin/fsl_sub -T 1 -l logs -N feat5_stop   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope6.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope6.feat -stop
10527

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat2_pre   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope7.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope7.feat -I 7 -flame1
10693

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3b_flame -j 10693 -t ./.flame
11105

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3c_flame -j 11105  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope7.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope7.feat -flame3
11123

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat4_post -j 11123  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope7.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope7.feat -poststats 0 1
child process exited abnormally
    while executing
"if { [ catch {



for { set argindex 1 } { $argindex < $argc } { incr argindex 1 } {
    switch -- [ lindex $argv $argindex ] {

	-I {
	    incr argin..."
    (file "/usr/local/fsl/bin/feat" line 119)

/usr/local/fsl/bin/fsl_sub -T 1 -l logs -N feat5_stop   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope7.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope7.feat -stop
11324

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat2_pre   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope8.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope8.feat -I 8 -flame1
11490

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3b_flame -j 11490 -t ./.flame
11902

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3c_flame -j 11902  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope8.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope8.feat -flame3
11920

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat4_post -j 11920  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope8.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope8.feat -poststats 0 1
child process exited abnormally
    while executing
"if { [ catch {



for { set argindex 1 } { $argindex < $argc } { incr argindex 1 } {
    switch -- [ lindex $argv $argindex ] {

	-I {
	    incr argin..."
    (file "/usr/local/fsl/bin/feat" line 119)

/usr/local/fsl/bin/fsl_sub -T 1 -l logs -N feat5_stop   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope8.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope8.feat -stop
12121

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat2_pre   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope9.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope9.feat -I 9 -flame1
12287

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3b_flame -j 12287 -t ./.flame
12699

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat3c_flame -j 12699  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope9.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope9.feat -flame3
12717

/usr/local/fsl/bin/fsl_sub -T 60 -l logs -N feat4_post -j 12717  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope9.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope9.feat -poststats 0 1
child process exited abnormally
    while executing
"if { [ catch {



for { set argindex 1 } { $argindex < $argc } { incr argindex 1 } {
    switch -- [ lindex $argv $argindex ] {

	-I {
	    incr argin..."
    (file "/usr/local/fsl/bin/feat" line 119)

/usr/local/fsl/bin/fsl_sub -T 1 -l logs -N feat5_stop   /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope9.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope9.feat -stop
12918

/usr/local/fsl/bin/fsl_sub -T 1 -l logs -N feat5_stop -j 6542,7339,8136,8933,9730,10527,11324,12121,12918  /usr/local/fsl/bin/feat /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat/cope9.feat/design.fsf -D /Volumes/sbp/imaginary_fingertapping_paper3/FSL5_imaft_FLAME1_cluster+.gfeat -stop
Higher-level input files preparation

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/con01_15_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/con02_36_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/con03_34_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/con04_23_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/con05_13_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/con07_14_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/con08_18_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/con09_08_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/con11_17_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/con12_21_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/con14_07_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/con16_06_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/pat01_30_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/pat02_16_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/pat03_11_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/pat05_19_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/pat06_33_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/pat07_04_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/pat09_03_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/pat10_05_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/featregapply /Volumes/sbp/imaginary_fingertapping_paper3/pat12_01_imaft_epi.feat
stats/cope1   stats/cope2   stats/cope3   stats/cope4   stats/cope5   stats/cope6   stats/cope7   stats/cope8   stats/cope9   stats/varcope1   stats/varcope2   stats/varcope3   stats/varcope4   stats/varcope5   stats/varcope6   stats/varcope7   stats/varcope8   stats/varcope9
child process exited abnormally
    while executing
"exec sh -c "${FSLDIR}/bin/imglob $args" "
    (procedure "imglob" line 7)
    invoked from within
"imglob stats/cope* stats/varcope* stats/tdof_t* "
    invoked from within
"if { [ info exists fmri(inmelodic) ] &&amp; $fmri(inmelodic) } {
    if { $fmri(regstandard_res)>0.0001 } {
	fsl:exec "${FSLDIR}/bin/flirt -ref reg/standa..."
    (file "/usr/local/fsl/bin/featregapply" line 199)

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/con01_15_imaft_epi.feat/reg/standard bg_image

/usr/local/fsl/bin/fslmerge -t mask  /Volumes/sbp/imaginary_fingertapping_paper3/con01_15_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/con02_36_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/con03_34_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/con04_23_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/con05_13_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/con07_14_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/con08_18_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/con09_08_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/con11_17_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/con12_21_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/con14_07_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/con16_06_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/pat01_30_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/pat02_16_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/pat03_11_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/pat05_19_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/pat06_33_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/pat07_04_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/pat09_03_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/pat10_05_imaft_epi.feat/reg_standard/mask /Volumes/sbp/imaginary_fingertapping_paper3/pat12_01_imaft_epi.feat/reg_standard/mask

mkdir -p inputreg

/usr/local/fsl/bin/fslmaths ../mask -mul 21 -Tmean masksum -odt short

/usr/local/fsl/bin/fslmaths masksum -thr 21 -add masksum masksum

/usr/local/fsl/bin/overlay 0 0 -c ../bg_image -a masksum 0.9 42 masksum_overlay

/usr/local/fsl/bin/slicer masksum_overlay -S 2 750 masksum_overlay.png

/usr/local/fsl/bin/fslmaths masksum -mul 0 maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/con01_15_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 1 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/con02_36_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 2 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/con03_34_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 3 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/con04_23_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 4 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/con05_13_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 5 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/con07_14_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 6 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/con08_18_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 7 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/con09_08_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 8 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/con11_17_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 9 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/con12_21_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 10 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/con14_07_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 11 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/con16_06_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 12 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/pat01_30_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 13 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/pat02_16_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 14 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/pat03_11_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 15 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/pat05_19_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 16 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/pat06_33_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 17 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/pat07_04_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 18 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/pat09_03_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 19 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/pat10_05_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 20 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths /Volumes/sbp/imaginary_fingertapping_paper3/pat12_01_imaft_epi.feat/reg_standard/mask -mul -1 -add 1 -mul 21 -add maskunique maskunique

/usr/local/fsl/bin/fslmaths masksum -thr 20 -uthr 20 -bin -mul maskunique maskunique

/usr/local/fsl/bin/overlay 0 0 ../bg_image -a maskunique 0.9 21 maskunique_overlay

/usr/local/fsl/bin/slicer maskunique_overlay -S 2 750 maskunique_overlay.png

/bin/cp /usr/local/fsl/etc/luts/ramp.gif .ramp.gif

/usr/local/fsl/bin/fslmaths mask -Tmin mask

/usr/local/fsl/bin/fslmerge -t mean_func  /Volumes/sbp/imaginary_fingertapping_paper3/con01_15_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/con02_36_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/con03_34_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/con04_23_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/con05_13_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/con07_14_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/con08_18_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/con09_08_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/con11_17_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/con12_21_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/con14_07_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/con16_06_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/pat01_30_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/pat02_16_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/pat03_11_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/pat05_19_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/pat06_33_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/pat07_04_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/pat09_03_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/pat10_05_imaft_epi.feat/reg_standard/mean_func /Volumes/sbp/imaginary_fingertapping_paper3/pat12_01_imaft_epi.feat/reg_standard/mean_func

/usr/local/fsl/bin/fslmaths mean_func -Tmean mean_func
Error - not all input FEAT directories have the same set of contrasts! (currently looking in /Volumes/sbp/imaginary_fingertapping_paper3/con01_15_imaft_epi.feat for cope1)