changeset 45:0ec526d2d8c1 draft

planemo upload for repository https://github.com/usegalaxy-eu/temporary-tools/tree/master/jbrowse2 commit 015c77d802595a85f78739ee2316b452c519c796-dirty
author fubar
date Fri, 01 Mar 2024 05:15:41 +0000
parents bea0916e1080
children 4181e97c70a7
files jbrowse2.xml macros.xml
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jbrowse2.xml	Fri Mar 01 04:44:52 2024 +0000
+++ b/jbrowse2.xml	Fri Mar 01 05:15:41 2024 +0000
@@ -102,6 +102,7 @@
                     #if $track.data_format.data_format_select != "sparql":
                     <files>
                         #for $dataset in $track.data_format.annotation:
+                               #if $dataset:
                               <trackFile path="${dataset}" ext="${dataset.ext}" label="${dataset.name}">
                                 <metadata>
                                   <dataset id="${__app__.security.encode_id($dataset.id)}" hid="${dataset.hid}"
@@ -136,6 +137,7 @@
                                       />
                                 </metadata>
                               </trackFile>
+                            #end if
 
                         #end for
                     </files>
--- a/macros.xml	Fri Mar 01 04:44:52 2024 +0000
+++ b/macros.xml	Fri Mar 01 05:15:41 2024 +0000
@@ -505,7 +505,7 @@
     </xml>
 
     <xml name="input_conditional" token_label="Track Data" token_format="data">
-        <param label="@LABEL@" format="@FORMAT@" name="annotation" type="data" multiple="True"/>
+        <param label="@LABEL@" format="@FORMAT@" name="annotation" optional="True" type="data" multiple="True"/>
     </xml>
     <xml name="citations">
         <citations>