Commit 32cc4fdf authored by Amy Howard's avatar Amy Howard
Browse files

Delete test.sh

parent e6f754f0
#!/bin/sh
shift
while [ ! -z "$1" ]
do
case "$1" in
-m) model=$2;shift;;
--dax) dax=$2;shift;;
--diso) diso=$2;shift;;
esac
shift
done
echo here1
if [ -z "$model" ]; then
echo "Must specify model name as either 'invivo' or 'exvivo'"
#exit 1
elif [ "$model" == "invivo" ]; then
# Default params
if [ -z "$dax" ]; then dax=0.0017; fi
if [ -z "$diso" ]; then diso=0.003; fi
export modelname=NODDI_Watson_diff
cfolder=cudimot
elif [ "$model" == "exvivo" ]; then
# Default params
if [ -z "$dax" ]; then dax=0.0006; fi # No idea where these values come from
if [ -z "$diso" ]; then diso=0.002; fi
export modelname=NODDI_Watson_exvivo
cfolder=cudimot-3
else
echo "Must specify model name as either 'invivo' or 'exvivo'"
#exit 1
fi
echo dax $dax diso $diso echo $cfolder
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