Repository 'sortmerna'
hg clone https://toolshed.g2.bx.psu.edu/repos/rnateam/sortmerna

Changeset 7:1eafcc450052 (2017-06-13)
Previous changeset 6:185effcdfb68 (2017-06-06) Next changeset 8:65c38d020fea (2017-09-24)
Commit message:
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/sortmerna commit 4241c1d4b05a177bd2c74f5a139f51d4f65e0b55
modified:
sortmerna.xml
b
diff -r 185effcdfb68 -r 1eafcc450052 sortmerna.xml
--- a/sortmerna.xml Tue Jun 06 13:41:03 2017 -0400
+++ b/sortmerna.xml Tue Jun 13 10:41:34 2017 -0400
[
@@ -35,17 +35,13 @@
             #set $sep = ':'
         #end for
     #else if str( $databases_type.databases_selector ) == 'cached_to_index'
-        ## databases path is not directly accessible, must match by hand with LOC file contents
-        #set $data_table = dict([(_[0], _[2]) for _ in $databases_type.input_databases.input.options.tool_data_table.data])
-        #for $db in $databases_type.input_databases.value
-            #set $ref += $sep + $data_table[$db] + '.fasta,' + $data_table[$db] + '-reindexed'
+        #for $db in $databases_type.input_databases.fields.path.split(",")
+            #set $ref += $sep + $db + ',' + $os.path.splitext($db)[0] + '-reindexed'
             #set $sep = ':'
         #end for
-    #else:
-        ## databases path is not directly accessible, must match by hand with LOC file contents
-        #set $data_table = dict([(_[0], _[2]) for _ in $databases_type.input_databases.input.options.tool_data_table.data])
-        #for $db in $databases_type.input_databases.value
-            #set $ref += $sep + $data_table[$db] + '.fasta,' + $data_table[$db]
+    #else
+        #for $db in $databases_type.input_databases.fields.path.split(",")
+            #set $ref += $sep + $db + ',' + $os.path.splitext($db)[0]
             #set $sep = ':'
         #end for
     #end if