edickie / epitome

a platform for mri analysis pipeline development
Other
0 stars 1 forks source link

fix bug when no noise found #18

Open edickie opened 8 years ago

edickie commented 8 years ago

right fix module will not generate an output dies if no noise ica's are identified (i.e.all components are signal). We should change this to output a copy of the input in this case

for outdir in ls -1d *_5*; do fixfile=${outdir}/RST/SESS01/fake*feat/fix4melview_abide_USM25_thr20.txt if [ tail -1 ${fixfile} | wc -c == 3 ]; then; echo ${fixfile} fi done