User Tools

Site Tools


beewm:devel:workflow_specification_syntax

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
beewm:devel:workflow_specification_syntax [2014/11/20 15:58]
behullar
beewm:devel:workflow_specification_syntax [2016/05/20 12:11]
admin
Line 8: Line 8:
     <input>     <input>
         <datasets>         <datasets>
-            <dataset name="String (required)" id="String (storage ID, required)" type="String (storage dataset type, required)" stage="TRUE|FALSE (optional, defaults to TRUE)" />+            <dataset name="String (required)" id="String (storage ID, required)" type="String (storage dataset type, optional)" stage="TRUE|FALSE (optional, defaults to TRUE)" />
             ....             ....
         </datasets>         </datasets>
Line 50: Line 50:
         <datasets>         <datasets>
             <dataset name="RawImages" id="0bCDME-BE01" type="HCS_IMAGE_RAW" stage="true" />             <dataset name="RawImages" id="0bCDME-BE01" type="HCS_IMAGE_RAW" stage="true" />
-            <dataset name="ComputeShadingCorrectionAverageImageSettings" id="12345" type="HCS_ARGUMENTS" stage="true" />+            <dataset name="ComputeShadingCorrectionAverageImageSettings" id="123459876" stage="true" />
             <dataset name="MergeShadingCorrectionAverageImageSettings" id="1234567890" type="HCS_ARGUMENTS" stage="true" />             <dataset name="MergeShadingCorrectionAverageImageSettings" id="1234567890" type="HCS_ARGUMENTS" stage="true" />
         </datasets>         </datasets>
Line 152: Line 152:
 When a process is started by submitting a particular workflow together with one or several input datasets, it will be checked that: When a process is started by submitting a particular workflow together with one or several input datasets, it will be checked that:
   * the input dataset(s) identified by its storage ID exist in storage   * the input dataset(s) identified by its storage ID exist in storage
-  * the input dataset(s) in storage have the same type as specified in the ''<input><datasets><dataset ... />'' element+  * the input dataset(s) in storage have the same type as specified in the ''<input><datasets><dataset ... />'' element, if given
  
  
Line 162: Line 162:
  
 ==== <dataset type="..." ... > ==== ==== <dataset type="..." ... > ====
-Required. Corresponds to the dataset type provided by the storage. It is used for validation purposes.+Optional. Corresponds to the dataset type provided by the storage. It is used for validation purposes.
  
 ==== <dataset stage="..." ... > ==== ==== <dataset stage="..." ... > ====
Line 170: Line 170:
  
 :!: This feature is not implemented. The application behaves as this value would be set to true. To be discussed if it is needed, since the directory of a dataset could be specified as metadata or as variable. :!: This feature is not implemented. The application behaves as this value would be set to true. To be discussed if it is needed, since the directory of a dataset could be specified as metadata or as variable.
 +
 +
 +==== <files in_dir="..." regex="..." /> ====
 +With this element, the files and/or directories to stage are selected. All the ''"files"'' elements defined in an output dataset will be evaluated. The files and/or directories selected will be the following:
 +  * located in the ''"in_dir"'', as a subdirectory of the module's work directory; or located directly in the module's work directory if the ''"in_dir"'' attribute is empty.
 +  * matching the regex expression specified in the ''"regex"'' attribute.
  
 ===== <module name="..."  ... > ===== ===== <module name="..."  ... > =====
Line 249: Line 255:
 Bee supports the use of variables in its workflow description file.\\ Bee supports the use of variables in its workflow description file.\\
 Variables are specified with the following terminology:  **''${variable_type.variable_name}''**.\\ Variables are specified with the following terminology:  **''${variable_type.variable_name}''**.\\
-Please check **[[devel:resolving_workflow_templates|Resolving Workflow Templates]]** for detailed information.+Please check **[[:beewm:devel:resolving_workflow_templates|Resolving Workflow Templates]]** for detailed information.
  
  
beewm/devel/workflow_specification_syntax.txt ยท Last modified: 2016/05/20 12:11 by admin