From: Sorina Pop Date: Fri, 18 Nov 2016 13:28:25 +0000 (+0100) Subject: added options field and correct odinepiexe X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8f641fa9b66ba2cec9983401990c5a4cf80a56b2;p=vip-workflow-odin.git added options field and correct odinepiexe --- diff --git a/bin/odin-release.tgz b/bin/odin-release.tgz index ad7fb14..7fb33f1 100644 Binary files a/bin/odin-release.tgz and b/bin/odin-release.tgz differ diff --git a/bin/odin.sh b/bin/odin.sh index b761f60..089433f 100644 --- a/bin/odin.sh +++ b/bin/odin.sh @@ -72,6 +72,17 @@ PROPATH=$1 SMPPATH=$2 RESDIR=$3 ODINSEQ=$4 +OPTIONS=$5 + +if [ "${OPTIONS}" != "no" ] +then + OPT=`echo ${OPTIONS} | sed s/_/\ /g` +else + OPT="" +fi + +echo "Options are $OPT" + PRO=`basename $PROPATH` SMP=`basename $SMPPATH` @@ -109,8 +120,8 @@ else fi #launching program odinrecopexe -echo "executing odinrecopexe -o $OUTNAME" -./odinrecoexe -o $OUTNAME +echo "executing odinrecopexe $OPT -o $OUTNAME" +./odinrecoexe $OPT -o $OUTNAME CODE=$? if [ ${CODE} != 0 ] diff --git a/gasw/odin.xml b/gasw/odin.xml index fa74205..5942c11 100644 --- a/gasw/odin.xml +++ b/gasw/odin.xml @@ -16,6 +16,8 @@ + + diff --git a/workflow/odin_epi.gwendia b/workflow/odin_epi.gwendia index 7180ef1..f301f16 100644 --- a/workflow/odin_epi.gwendia +++ b/workflow/odin_epi.gwendia @@ -1,5 +1,5 @@ - + There is no description for this application. Please contact the developers to know what it is about. @@ -17,10 +17,15 @@ + + <b><font color="blue">options</font></b>: any option string, to be appended to the recon-all command line. For instance: '-all'. <b>Important:</b> don't put spaces, use '_' instead. And put 'no' in case you don't want to use any option. + + + @@ -31,6 +36,7 @@ + @@ -56,6 +62,7 @@ String result = dir.toString()+"/"+(dateFormat.format(System.currentTimeMillis() + diff --git a/workflow/odin_fisp.gwendia b/workflow/odin_fisp.gwendia index f6d8204..10c862e 100644 --- a/workflow/odin_fisp.gwendia +++ b/workflow/odin_fisp.gwendia @@ -1,5 +1,5 @@ - + There is no description for this application. Please contact the developers to know what it is about. @@ -17,10 +17,15 @@ + + <b><font color="blue">options</font></b>: any option string, to be appended to the recon-all command line. For instance: '-all'. <b>Important:</b> don't put spaces, use '_' instead. And put 'no' in case you don't want to use any option. + + + @@ -31,6 +36,7 @@ + @@ -56,6 +62,7 @@ String result = dir.toString()+"/"+(dateFormat.format(System.currentTimeMillis() +