Hi,

thanks for your help. I'm trying to composite four conds columns from two
subjects' deformed-metric-files into one combined metric file:

for EACHCOL in `ls /mrt/Visac/*Visac/stats/*Visac_fullGLM/c*.nii` (= my
four conds files)
do
caret_command -metric-composite-identified-columns $CURRDIR/RH_`basename
$EACHCOL .nii`.metric $CURRDIR/deformed_RH_*.metric `basename $EACHCOL
.nii`
done

I get: "METRIC COMPOSITE IDENTIFIED COLUMNS ERROR: ERROR column
name/number cCue_EndoLeft (=my first conds column) not found in file
deformed_RH_01Visac_beta.metric"

CURRDIR is the directory were the deformed-metric-files are. I have full
permission on all files. In the deformed-metric-files the columns are
named like this: tag-column-name 0 cCue_EndoLeft.nii[1]

I understand that I need to specify either column name or number so that
columns are combined correctly. I tried to do that with `basename $EACHCOL
.nii` , which obviously doesn't work. Do you know how I can assign
name/number in the loop?

Thanks a lot!

Julia

Dipl. Psych. Julia Bender
Humboldt Universität zu Berlin
Mathematisch - Naturwissenschaftliche Fakultät II
Institut für Psychologie, Abt. Klinische Psychologie
Unter den Linden 6
D-10099 Berlin

_______________________________________________
caret-users mailing list
[email protected]
http://brainvis.wustl.edu/mailman/listinfo/caret-users

Reply via email to