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`
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 ]
</input>
<input name="odin_seq" option="no4">
</input>
+ <input name="options" option="no5">
+ </input>
<sandbox name="executable">
<access type="LFN" cached="true">
<?xml version="1.0" encoding="UTF-8"?>
-<workflow name="odin" version="0.1">
+<workflow name="odin" version="0.2">
<description>There is no description for this application. Please contact the developers to know what it is about.</description>
</source-comment>
</source>
<constant name="OdinSeq" type="string" value="odinepiexe" cardinality="scalar" />
+ <source name="options" type="string">
+ <source-comment><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.
+ </source-comment>
+ </source>
</interface>
<processors>
<processor name="odin" >
+ <in name="input4" type="string" depth="0" />
<in name="input3" type="string" depth="0" />
<in name="input2" type="string" depth="0" />
<in name="input1" type="uri" depth="0" />
<port name="input1" />
<port name="input2" />
<port name="input3" />
+ <port name="input4" />
</cross>
</iterationstrategy>
<gasw descriptor="[GASW_DIR]/odin.xml"/>
<link from="ResultsDirectory" to="append-date:dir" />
<link from="append-date:result" to="odin:input2" />
<link from="OdinSeq" to="odin:input3" />
+ <link from="options" to="odin:input4" />
</links>
</workflow>
<?xml version="1.0" encoding="UTF-8"?>
-<workflow name="odin" version="0.1">
+<workflow name="odin" version="0.2">
<description>There is no description for this application. Please contact the developers to know what it is about.</description>
</source-comment>
</source>
<constant name="OdinSeq" type="string" value="odinfispexe" cardinality="scalar" />
+ <source name="options" type="string">
+ <source-comment><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.
+ </source-comment>
+ </source>
</interface>
<processors>
<processor name="odin" >
+ <in name="input4" type="string" depth="0" />
<in name="input3" type="string" depth="0" />
<in name="input2" type="string" depth="0" />
<in name="input1" type="uri" depth="0" />
<port name="input1" />
<port name="input2" />
<port name="input3" />
+ <port name="input4" />
</cross>
</iterationstrategy>
<gasw descriptor="[GASW_DIR]/odin.xml"/>
<link from="ResultsDirectory" to="append-date:dir" />
<link from="append-date:result" to="odin:input2" />
<link from="OdinSeq" to="odin:input3" />
+ <link from="options" to="odin:input4" />
</links>
</workflow>