Repository 'gdcwebapp'
hg clone https://toolshed.g2.bx.psu.edu/repos/fabio/gdcwebapp

Changeset 18:2c58e3cc1b30 (2017-06-01)
Previous changeset 17:1224f3d9b5c7 (2017-06-01) Next changeset 19:5244d3a1a441 (2017-06-01)
Commit message:
Uploaded 20170601
modified:
gdcwebapp.xml
json_data_source_mod.py
added:
._gdcwebapp.xml
._json_data_source_mod.py
b
diff -r 1224f3d9b5c7 -r 2c58e3cc1b30 ._gdcwebapp.xml
b
Binary file ._gdcwebapp.xml has changed
b
diff -r 1224f3d9b5c7 -r 2c58e3cc1b30 ._json_data_source_mod.py
b
Binary file ._json_data_source_mod.py has changed
b
diff -r 1224f3d9b5c7 -r 2c58e3cc1b30 gdcwebapp.xml
--- a/gdcwebapp.xml Thu Jun 01 13:07:25 2017 -0400
+++ b/gdcwebapp.xml Thu Jun 01 17:45:01 2017 -0400
b
@@ -1,5 +1,5 @@
 <?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">
+<tool name="GDCWebApp" id="data_source_gdcwebapp" tool_type="data_source_async" 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>
@@ -16,7 +16,6 @@
     </command>
     <inputs check_values="False" action="http://bioinf.iasi.cnr.it/gdcwebapp/app.php" >
         <display>Go to GDCWebApp service $GALAXY_URL</display>
-        <param name="URL" type="hidden" value="" />
     </inputs>
     <outputs>
         <data name="output1" format="auto" label="${tool.name} Output Data" hidden="True" />
b
diff -r 1224f3d9b5c7 -r 2c58e3cc1b30 json_data_source_mod.py
--- a/json_data_source_mod.py Thu Jun 01 13:07:25 2017 -0400
+++ b/json_data_source_mod.py Thu Jun 01 17:45:01 2017 -0400
[
@@ -116,7 +116,7 @@
                 extension = splitext( filename )[1]
                 # pattern: (?P<identifier_0>[^_]+)_(?P<identifier_1>[^_]+)_(?P<ext>[^_]+)_(?P<dbkey>[^_]+)
                 if (len(extension) > 0):
-                    filename = (filename[0:len(filename)-(len(extension)+1)]).replace(".", "-") + "_" + extension
+                    filename = (filename[0:len(filename)-(len(extension)+1)]).replace(".", "-") + "." + extension + "_" + extension
                 else:
                     extension = "auto"
                 filename_with_collection_prefix = archive_name + "_" + filename + "_" + db_key