Repository 'data_manager_fetch_gene_annotation'
hg clone https://toolshed.g2.bx.psu.edu/repos/scottx611x/data_manager_fetch_gene_annotation

Changeset 27:492505471c3f (2016-06-23)
Previous changeset 26:2f03bb5788e1 (2016-06-23) Next changeset 28:cda45d5c11d2 (2016-06-23)
Commit message:
planemo upload
modified:
data_manager_gene_annotation/data_manager/data_manager.py
data_manager_gene_annotation/data_manager_conf.xml
b
diff -r 2f03bb5788e1 -r 492505471c3f data_manager_gene_annotation/data_manager/data_manager.py
--- a/data_manager_gene_annotation/data_manager/data_manager.py Thu Jun 23 15:38:26 2016 -0400
+++ b/data_manager_gene_annotation/data_manager/data_manager.py Thu Jun 23 15:46:41 2016 -0400
b
@@ -28,7 +28,7 @@
 args = parser.parse_args()
 
 
-def url_download(url, name):
+def url_download(url):
     response = requests.get(url=url, stream=True)
 
     # Generate file_name
@@ -52,7 +52,7 @@
 def main(args):
 
     # Attempt to download gene annotation file from given url
-    gene_annotation_file_name = url_download(args.url, args.name)
+    gene_annotation_file_name = url_download(args.url)
 
     # Update Data Manager JSON and write to file
     data_manager_entry = {
b
diff -r 2f03bb5788e1 -r 492505471c3f data_manager_gene_annotation/data_manager_conf.xml
--- a/data_manager_gene_annotation/data_manager_conf.xml Thu Jun 23 15:38:26 2016 -0400
+++ b/data_manager_gene_annotation/data_manager_conf.xml Thu Jun 23 15:46:41 2016 -0400
b
@@ -7,7 +7,7 @@
  <column name="value" />
  <column name="dbkey" />
  <column name="name" />
- <column name="path" output_ref="out_file">
+ <column name="path">
  <move type="file">
  <source>${path}</source>
  <target base="${GALAXY_DATA_MANAGER_DATA_PATH}">${dbkey}/gene_annotations/${path}</target>