changeset 39:fd5dbf0f732e draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse commit 145eb8fdc1460af572d90991d048432f8e9582da"
author iuc
date Tue, 28 Apr 2020 10:01:04 -0400
parents 667e17248bfe
children 17359b808b01
files jbrowse.xml macros.xml
diffstat 2 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jbrowse.xml	Wed Feb 12 03:35:41 2020 -0500
+++ b/jbrowse.xml	Tue Apr 28 10:01:04 2020 -0400
@@ -81,9 +81,15 @@
                       edam_format="${reference_genome.genome.datatype.edam_format}"
                       file_ext="${reference_genome.genome.ext}" />
                   <history id="${__app__.security.encode_id($reference_genome.genome.history_id)}"
+                      #if $reference_genome.genome.history.user:
                       user_email="${reference_genome.genome.history.user.email}"
                       user_id="${reference_genome.genome.history.user_id}"
                       display_name="${reference_genome.genome.history.get_display_name()}"/>
+                      #else
+                      user_email="anonymous"
+                      user_id="-1"
+                      display_name="Unnamed History"/>
+                      #end if
                   <metadata
                       #for (key, value) in $reference_genome.genome.get_metadata().items():
                       #if "_types" not in $key:
@@ -127,9 +133,15 @@
                       edam_format="${dataset.datatype.edam_format}"
                       file_ext="${dataset.ext}" />
                   <history id="${__app__.security.encode_id($dataset.history_id)}"
+                      #if $dataset.history.user:
                       user_email="${dataset.history.user.email}"
                       user_id="${dataset.history.user_id}"
                       display_name="${dataset.history.get_display_name()}"/>
+                      #else
+                      user_email="anonymous"
+                      user_id="-1"
+                      display_name="Unnamed History"/>
+                      #end if
                   <metadata
                     #for (key, value) in $dataset.get_metadata().items():
                     #if "_types" not in $key and $value is not None and len(str($value)) < 5000:
--- a/macros.xml	Wed Feb 12 03:35:41 2020 -0500
+++ b/macros.xml	Tue Apr 28 10:01:04 2020 -0400
@@ -15,7 +15,7 @@
     </requirements>
   </xml>
   <token name="@DATA_DIR@">\$GALAXY_JBROWSE_SHARED_DIR</token>
-  <token name="@WRAPPER_VERSION@">galaxy0</token>
+  <token name="@WRAPPER_VERSION@">galaxy1</token>
   <token name="@ATTRIBUTION@"><![CDATA[
 **Attribution**