diff macros.xml @ 5:91efbd7b52dc draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
author iuc
date Fri, 16 Aug 2024 08:57:56 +0000
parents 3481feabc54e
children 576dd33588bf
line wrap: on
line diff
--- a/macros.xml	Sat Mar 16 11:34:24 2024 +0000
+++ b/macros.xml	Fri Aug 16 08:57:56 2024 +0000
@@ -1,6 +1,6 @@
 <macros>
     <token name="@TOOL_VERSION@">2.8.6</token>
-    <token name="@VERSION_SUFFIX@">1</token>
+    <token name="@VERSION_SUFFIX@">2</token>
     <token name="@PROFILE@">22.01</token>
     <xml name="header">
         <xrefs>
@@ -44,6 +44,7 @@
 
     <token name="@SAVE_METADATA_LIST@"><![CDATA[
                 classes <- sapply(data\$metadata, class)
+                data\$metadata[is.na(data\$metadata)] <- "NA" ##the comparison below fails if NA values are present, see https://stackoverflow.com/questions/7355187/error-in-if-while-condition-missing-value-where-true-false-needed
                 for(name in names(data\$metadata)){
                     ## check if it is the column containing the sample names
                     ## the additional column in the ist file can the be used