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

Changeset 44:f8cfca91827a (2016-07-08)
Previous changeset 43:e42284a13168 (2016-07-08) Next changeset 45:16e961b2f35c (2016-07-08)
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 e42284a13168 -r f8cfca91827a data_manager_gene_annotation/data_manager/data_manager.py
--- a/data_manager_gene_annotation/data_manager/data_manager.py Fri Jul 08 14:45:18 2016 -0400
+++ b/data_manager_gene_annotation/data_manager/data_manager.py Fri Jul 08 14:54:06 2016 -0400
[
@@ -62,10 +62,10 @@
     data_manager_entry = {
         'data_tables': {
             'gene_annotation': {
-                'value': gene_annotation_file_name.split(".")[0],
+                'value': gene_annotation_file_name,
                 'dbkey': gene_annotation_file_name.split(".")[0],
                 'name': name,
-                'path': gene_annotation_file_name
+                'path': os.path.join(work_dir, gene_annotation_file_name)
             }
         }
     }
b
diff -r e42284a13168 -r f8cfca91827a data_manager_gene_annotation/data_manager_conf.xml
--- a/data_manager_gene_annotation/data_manager_conf.xml Fri Jul 08 14:45:18 2016 -0400
+++ b/data_manager_gene_annotation/data_manager_conf.xml Fri Jul 08 14:54:06 2016 -0400
b
@@ -9,11 +9,12 @@
  <column name="name" />
  <column name="path" output_ref="out_file">
  <move type="file">
- <source>${path}</source>
+ <source>${value}</source>
  <target base="${GALAXY_DATA_MANAGER_DATA_PATH}">
  gene_annotations/${path}</target>
  </move>
- <value_translation>${GALAXY_DATA_MANAGER_DATA_PATH}/gene_annotations/${path}</value_translation>
+ <value_translation>${GALAXY_DATA_MANAGER_DATA_PATH
+ }/gene_annotations/${value}</value_translation>
  <value_translation type="function">abspath</value_translation>
  </column>
  </output>