diff macros.xml @ 5:adf75bf963f7 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ampvis2 commit 9ed0c3078be166bd22136771f517ae91a5198ecf
author iuc
date Fri, 16 Aug 2024 09:02:57 +0000
parents e2df49914652
children cf579d6919e8
line wrap: on
line diff
--- a/macros.xml	Sat Mar 16 11:35:59 2024 +0000
+++ b/macros.xml	Fri Aug 16 09:02:57 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