Commit 93a2b08c authored by Christoph Arthofer's avatar Christoph Arthofer
Browse files

Delete cmore_invertWarps.sh

parent d7747ec6
#!/bin/bash
#$ -cwd -j y
#$ -r y
echo `date`: Executing task ${SGE_TASK_ID} of job ${JOB_ID} on `hostname` as user ${USER}
echo SGE_TASK_FIRST=${SGE_TASK_FIRST}, SGE_TASK_LAST=${SGE_TASK_LAST}, SGE_TASK_STEPSIZE=${SGE_TASK_STEPSIZE}
. ~/.bash_profile
. $MODULESHOME/init/bash
module load fsl/6.0.3
ID_PATH=$1
REF_PATH=$2
WARP_IN_PATH=$3
WARP_OUT_PATH=$4
IMG_IN_ID=$(awk 'NR=='${SGE_TASK_ID} ${ID_PATH})
printf -v REF_PATH ${REF_PATH} ${IMG_IN_ID}
printf -v WARP_IN_PATH ${WARP_IN_PATH} ${IMG_IN_ID}
printf -v WARP_OUT_PATH ${WARP_OUT_PATH} ${IMG_IN_ID}
echo "invwarp --ref=${REF_PATH} --warp=${WARP_IN_PATH} --out=${WARP_OUT_PATH}"
invwarp --ref=${REF_PATH} --warp=${WARP_IN_PATH} --out=${WARP_OUT_PATH}
rv=$?
echo `date`: task complete
exit $rv
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment