#!/bin/sh

export CSURF_DIR=/space/annecy/5/users/inverse/freesurfer_alpha
export SUBJECTS_DIR=$CSURF_DIR/Subjects
export FUNCTIONALS_DIR=$CSURF_DIR/Sessions
export LOCAL_DIR=$CSURF_DIR/local
export TCL_LIBRARY=$LOCAL_DIR/lib/tcl7.4
export TK_LIBRARY=$LOCAL_DIR/lib/tk4.0
export TIX_LIBRARY=$LOCAL_DIR/lib/tix4.1
export MRI_DIR=$CSURF_DIR
arch=`uname -s`

export PATH=$PATH:$CSURF_DIR/bin/$arch:$CSURF_DIR/bin/noarch

#if [ 'egrep [Ss]cout $1' ]; then echo "$1 is a scout"; fi
#mri_info $1 | grep scout
tkmedit -f $1