diff split_pathset.xml @ 1:30bd2584b6a0 draft default tip

Uploaded
author crs4
date Wed, 15 Oct 2014 09:39:16 -0400
parents 7698311d4466
children
line wrap: on
line diff
--- a/split_pathset.xml	Fri May 30 06:48:47 2014 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-<tool id="hadoop_galaxy_split_pathset" name="Split pathset" version="0.1.0">
-  <description>Split a pathset according to a regular expression criteria</description>
-  <requirements>
-    <requirement type="package" version="0.11">pydoop</requirement>
-    <requirement type="package" version="0.1.1">hadoop-galaxy</requirement>
-  </requirements>
-
-  <command>
-      split_pathset '$criteria_expr'
-      #if $anchor_end
-          --anchor-end
-      #end if
-      --expand-levels $expand_levels
-      $input_pathset $output_true $output_false
-  </command>
-
-  <inputs>
-    <param name="criteria_expr" type="text" label="Regular expression criteria">
-      <validator type="empty_field" />
-    </param>
-    <param name="anchor_end" type="boolean"
-      checked="false"
-      label="Anchor expression and the end of the string (like $)"
-      />
-    <param name="expand_levels" type="integer"
-      value="0"
-      label="Expand paths by at least this many levels before applying criteria"
-      />
-    <param name="input_pathset" type="data" format="pathset" label="Input pathset" />
-    <param name="match_name" type="text" value="match" label="Name of dataset matching criteria">
-      <validator type="empty_field" />
-    </param>
-    <param name="no_match_name" type="text" value="no_match" label="Name of dataset not matching criteria">
-      <validator type="empty_field" />
-    </param>
-  </inputs>
-
-  <outputs>
-    <data name="output_true" type="data" format="pathset" label="$match_name" />
-    <data name="output_false" type="data" format="pathset" label="$no_match_name" />
-  </outputs>
-
-  <stdio>
-    <exit_code range="1:" level="fatal" />
-  </stdio>
-
-  <help>
-    Splits a pathset according to a regular expression.
-
-    You can have the tool expand the paths in the pathset by a certain number
-    of levels prior to testing whether it matches the regular expression.
-
-
-    **Note**: you can't use '$' in your regular expression. To anchor the
-    expression to the end of the path use the checkbox.
-
-
-    *Note*: the regular expression must match the path from its beginning.
-  </help>
-</tool>