changeset 2:234df22cd722 draft

planemo upload
author lecorguille
date Wed, 24 Feb 2016 12:30:37 -0500
parents 457a68338c2f
children f5d7654148bd
files xcms_summary.r
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xcms_summary.r	Wed Feb 24 12:27:43 2016 -0500
+++ b/xcms_summary.r	Wed Feb 24 12:30:37 2016 -0500
@@ -77,7 +77,7 @@
 
     writehtml("<h2>Samples used:</h2>")
     writehtml("<div><table>")
-        if (all(sampnames(xset) != sampleNamesList$sampleNamesMakeNames)) {
+        if (all(sampnames(xset) == sampleNamesList$sampleNamesMakeNames)) {
             sampleNameHeaderHtml = paste("<th>sample</th>")
             sampleNameHtml = paste("<td>",sampnames(xset),"</td>")
         } else {
@@ -89,7 +89,7 @@
             md5sumHeaderHtml = ""
             md5sumHtml = ""
             md5sumLegend=""
-        } else if (!is.null(md5sumList$removalBadCharacters)) {
+        } else if (is.null(md5sumList$removalBadCharacters)) {
             md5sumHeaderHtml = paste("<th>md5sum<sup>*</sup></th>")
             md5sumHtml = paste("<td>",md5sumList$origin,"</td>")
             md5sumLegend = "<br/><sup>*</sup>The program md5sum is designed to verify data integrity. So you can check if the data were uploaded correctly or if the data were chancged during the process."