diff gdcwebapp.xml @ 12:80593f75d74a draft

Uploaded
author fabio
date Tue, 30 May 2017 12:26:32 -0400
parents c0be9583df97
children babc444d4bd0
line wrap: on
line diff
--- a/gdcwebapp.xml	Thu May 25 17:58:23 2017 -0400
+++ b/gdcwebapp.xml	Tue May 30 12:26:32 2017 -0400
@@ -1,14 +1,17 @@
 <?xml version="1.0"?>
 <tool name="GDCWebApp" id="data_source_gdcwebapp" tool_type="data_source" hidden="False" display_interface="False" version="1.0.0" force_history_refresh="True">
     <description>an intuitive interface to filter, extract, and convert Genomic Data Commons experiments</description>
+    <requirements>
+        <requirement type="package" version="2.7.10">python</requirement>
+    </requirements>
     <stdio>
         <exit_code range="1:" />
         <exit_code range=":-1" />
     </stdio>
     <command>
         <![CDATA[
-            mkdir -p ${tool.name}_tmp && 
-            python ${__tool_directory__}/json_data_source_mod.py "${__app__.config.output_size_limit}" --json_param_file "${output1}" --path "." --appdata "${tool.name}_tmp"
+            mkdir -p tmp && 
+            python ${__tool_directory__}/json_data_source_mod.py "${__app__.config.output_size_limit}" --json_param_file "${output1}" --path "." --appdata "tmp"
         ]]>
     </command>
     <inputs check_values="False" action="http://bioinf.iasi.cnr.it/gdcwebapp/app.php" >
@@ -16,9 +19,9 @@
         <param name="URL" type="hidden" value="" />
     </inputs>
     <outputs>
-        <data name="output1" format="auto" visible="False" />
+        <data name="output1" format="auto" label="${tool.name} Output Data" />
         <collection name="list_output" type="list:list" label="${tool.name} Output Collection">
-            <discover_datasets pattern="(?P&lt;archive_name&gt;.*)_(?P&lt;file_name&gt;.*)\..*" ext="auto" visible="True" directory="${tool.name}_tmp" />
+            <discover_datasets pattern="(?P&lt;identifier_0&gt;[^_]+)_(?P&lt;identifier_1&gt;[^_]+)" ext="auto" visible="False" directory="tmp" />
         </collection>
     </outputs>
     <options sanitize="False" refresh="True" />