1 <?xml version="1.0" encoding="UTF-8"?>
2 <workflow name="odin" version="0.2">
4 <description>There is no description for this application. Please contact the developers to know what it is about.</description>
7 <source name="ProData" type="uri">
8 <source-comment><b><font color="blue">new input</font></b>: Pro file
11 <source name="SmpData" type="uri">
12 <source-comment><b><font color="blue">new input</font></b>: Smp file
15 <source name="ResultsDirectory" type="uri">
16 <source-comment><b><font color="blue">new input</font></b>: add description here...
19 <constant name="OdinSeq" type="string" value="odinfispexe" cardinality="scalar" />
20 <source name="options" type="string">
21 <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.
27 <processor name="odin" >
28 <in name="input4" type="string" depth="0" />
29 <in name="input3" type="string" depth="0" />
30 <in name="input2" type="string" depth="0" />
31 <in name="input1" type="uri" depth="0" />
32 <in name="input0" type="uri" depth="0" />
35 <port name="input0" />
36 <port name="input1" />
37 <port name="input2" />
38 <port name="input3" />
39 <port name="input4" />
42 <gasw descriptor="[GASW_DIR]/odin.xml"/>
44 <processor name="append-date" >
45 <in name="dir" type="uri" depth="0" />
46 <out name="result" type="string" depth="0" />
47 <beanshell>/*----------Beginning of Beanshell------------*/
48 import java.text.DateFormat;
49 import java.text.SimpleDateFormat;
50 import java.util.Date;
52 DateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy_HH:mm:ss");
53 String result = dir.toString()+"/"+(dateFormat.format(System.currentTimeMillis()));
54 /*------------End of Beanshell------------*/
60 <link from="SmpData" to="odin:input1" />
61 <link from="ProData" to="odin:input0" />
62 <link from="ResultsDirectory" to="append-date:dir" />
63 <link from="append-date:result" to="odin:input2" />
64 <link from="OdinSeq" to="odin:input3" />
65 <link from="options" to="odin:input4" />