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

Changeset 34:30039ecf0da0 (2016-06-23)
Previous changeset 33:bfc662f13436 (2016-06-23) Next changeset 35:355ecb4aaffd (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 bfc662f13436 -r 30039ecf0da0 data_manager_gene_annotation/data_manager/data_manager.py
--- a/data_manager_gene_annotation/data_manager/data_manager.py Thu Jun 23 17:01:45 2016 -0400
+++ b/data_manager_gene_annotation/data_manager/data_manager.py Thu Jun 23 17:09:05 2016 -0400
[
@@ -63,8 +63,8 @@
             'gene_annotation': {
                 'value': str(datetime.datetime.now()),
                 'dbkey': str(args.name),
-                'name': gene_annotation_file_name.split(".")[0],
-                'path': gene_annotation_file_name
+                'name': gene_annotation_file_name,
+                'path': os.path.join(os.getcwd(), gene_annotation_file_name)
             }
         }
     }
b
diff -r bfc662f13436 -r 30039ecf0da0 data_manager_gene_annotation/data_manager_conf.xml
--- a/data_manager_gene_annotation/data_manager_conf.xml Thu Jun 23 17:01:45 2016 -0400
+++ b/data_manager_gene_annotation/data_manager_conf.xml Thu Jun 23 17:09:05 2016 -0400
b
@@ -10,9 +10,9 @@
  <column name="path" output_ref="out_file">
  <move type="file" relativize_symlinks="False">
  <source>${path}</source>
- <target base="${GALAXY_DATA_MANAGER_DATA_PATH}">${dbkey}/gene_annotations/${path}</target>
+ <target base="${GALAXY_DATA_MANAGER_DATA_PATH}">${dbkey}/gene_annotations/${name}</target>
  </move>
- <value_translation>${GALAXY_DATA_MANAGER_DATA_PATH}/${dbkey}/gene_annotations/${path}</value_translation>
+ <value_translation>${GALAXY_DATA_MANAGER_DATA_PATH}/${dbkey}/gene_annotations/${name}</value_translation>
  <value_translation type="function">abspath</value_translation>
  </column>
  </output>