Skip to content
Snippets Groups Projects
Commit 5e6f3cec authored by David Flitney's avatar David Flitney
Browse files

Making the scripts more portable for FMRIB cayenne & jalapeno clusters

parent b496046a
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,15 @@
# SHCOPYRIGHT
if [ "x$SGE_ROOT" = "x" ] ; then
. /usr/local/share/sge-6.0/default/common/settings.sh
if [ -f /usr/local/share/sge-6.0/default/common/settings.sh ] ; then
. /usr/local/share/sge-6.0/default/common/settings.sh
else if [ -f /usr/local/sge-6/default/common/settings.sh ] ; then
. /usr/local/sge-6/default/common/settings.sh
else
echo "bedpost: Couldn\'t locate SGE_ROOT\!"
exit 255
fi
fi
fi
Usage() {
......
......@@ -5,12 +5,20 @@
# SHCOPYRIGHT
if [ "x$SGE_ROOT" = "x" ] ; then
. /usr/local/share/sge-6.0/default/common/settings.sh
if [ -f /usr/local/share/sge-6.0/default/common/settings.sh ] ; then
. /usr/local/share/sge-6.0/default/common/settings.sh
else if [ -f /usr/local/sge-6/default/common/settings.sh ] ; then
. /usr/local/sge-6/default/common/settings.sh
else
echo "bedpost: Couldn\'t locate SGE_ROOT\!"
exit 255
fi
fi
fi
Usage() {
echo ""
echo "Usage: bedpost <subject directory> "
echo "Usage: bedpostX <subject directory> "
echo ""
echo "expects to find bvals and bvecs in subject directory"
echo "expects to find data nodif_brain_mask nodif in subject directory"
......
......@@ -7,7 +7,6 @@ slicezp=`${FSLDIR}/bin/zeropad $slice 4`
#$ -cwd -q long.q
#$ -S /bin/sh
#$ -V -N bedpostX
#$ -l arch=tru64
#$ -m a
${FSLDIR}/bin/xfibres\
......
......@@ -7,7 +7,6 @@ slicezp=`${FSLDIR}/bin/zeropad $slice 4`
#$ -cwd -q long.q
#$ -S /bin/sh
#$ -V -N bedpost
#$ -l arch=tru64
#$ -m a
${FSLDIR}/bin/diff_pvm\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment