<li><strong>UniqueAll:</strong> the file given for this parameter must be not given for another one</li>
<em>Syntax: Unique</em>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
...
...
@@ -449,6 +497,8 @@ class MyWorkflow (Workflow):
<p>This method takes the same arguments as <code>add_input_file()</code>. However, adding this parameter,
the final user will be allowed to provide multiple files and the object attribut <code>self.parameter_name</code> will be
settled as a Python list.</p>
<p>The <code>rules</code> argument has a rule available only on input files list: Unique. If this rule is given, a same file must be unique on the list.</p>
<h3>add_input_directory()</h3>
<p>
...
...
@@ -568,6 +618,22 @@ class MyWorkflow(Workflow):
<td>None</td>
<td>The parameter name that should be displayed on the final form.</td>
</tr>
<tr>
<td>rules</td>
<td>string</td>
<td>false</td>
<td>None</td>
<td>Define custom rules on the parameter. Rules are separated by a ";"<br/>
Available rules:<br/>
<ul>
<li><strong>Exclude:</strong> exclude parameters. If one is given, the other must be not given.<br/>
<em>Syntax: Exclude=param1,param2,...</em></li>
<li><strong>ToBeRequired:</strong> require other parameters if parameter is given.<br/>