diff make_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/make_pathset.xml	Fri May 30 06:48:47 2014 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-<tool id="hadoop_galaxy_make_pathset" name="Make Pathset" version="0.1.0">
-  <description>Create a pathset for a set of files</description>
-  <requirements>
-    <requirement type="package" version="0.11">pydoop</requirement>
-    <requirement type="package" version="0.1.1">hadoop-galaxy</requirement>
-  </requirements>
-
-  <command>
-    make_pathset
-    #if str($paths.source) == 'tool_input'
-      --force-local --data-format $paths.datapaths.ext "$output_path" "$paths.datapaths"
-    #elif str($paths.source) == 'text_box'
-      #if str($paths.filesystem_select) == "local_fs"
-        --force-local
-      #end if
-      #if $paths.data_format
-        --data-format "$paths.data_format"
-      #end if
-      "$output_path" "$paths.datapaths"
-    #else
-      #raise ValueError("BUG!! unknown paths.source value")
-    #end if
-  </command>
-
-  <inputs>
-    <conditional name="paths">
-      <param name="source" type="select" label="Path source">
-        <option value="tool_input">Dataset from your history</option>
-        <option value="text_box">User input</option>
-      </param>
-      <when value="tool_input">
-        <param name="datapaths" type="data" label="A dataset in any format" />
-      </when>
-      <when value="text_box">
-        <param name="filesystem_select" type="select" label="File system type">
-          <option value="default_fs">Default</option>
-          <option value="local_fs">Local FS</option>
-        </param>
-        <param name="datapaths" type="text" label="Paths or URIs" size="60">
-          <validator type="empty_field" />
-        </param>
-        <param name="data_format" type="text" label="Extension representing data format" size="20" />
-      </when>
-    </conditional>
-  </inputs>
-
-  <outputs>
-    <data name="output_path" format="pathset" />
-  </outputs>
-
-  <stdio>
-    <exit_code range="1:" level="fatal" />
-  </stdio>
-
-  <help>
-Create a pathset for a set of files to be used as input for Hadoop tools.
-  </help>
-</tool>