changeset 27:492505471c3f draft

planemo upload
author scottx611x
date Thu, 23 Jun 2016 15:46:41 -0400
parents 2f03bb5788e1
children cda45d5c11d2
files data_manager_gene_annotation/data_manager/data_manager.py data_manager_gene_annotation/data_manager_conf.xml
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
@@ -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 = {
--- 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
@@ -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>