]> Creatis software - vip-workflow-odin.git/blobdiff - workflow/odin_epi.gwendia
SMP folder selection
[vip-workflow-odin.git] / workflow / odin_epi.gwendia
index 7180ef1091118dc865404c74f8ed1ed7eecc40f5..50e978f1671fb14a74c5baf9af64c6829599fc2a 100644 (file)
@@ -1,7 +1,7 @@
 <?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>
+  <description>This application wraps the Odin MRI simulator. The Odin code source is available at http://od1n.sourceforge.net</description>
 
   <interface>
     <source name="ProData" type="uri">
       </source-comment>
     </source>
     <constant name="OdinSeq" type="string" value="odinepiexe" cardinality="scalar" />
+    <source name="options" type="string">
+      <source-comment>&lt;b&gt;&lt;font color="blue"&gt;options&lt;/font&gt;&lt;/b&gt;: any option string, to be appended to the recon-all command line. For instance: '-all'. &lt;b&gt;Important:&lt;/b&gt; 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" />
@@ -31,6 +36,7 @@
           <port name="input1" />
           <port name="input2" />
           <port name="input3" />
+          <port name="input4" />
         </cross>
       </iterationstrategy>
       <gasw descriptor="[GASW_DIR]/odin.xml"/>
@@ -56,6 +62,7 @@ String result = dir.toString()+"/"+(dateFormat.format(System.currentTimeMillis()
       <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>