changeset 46:bec38379cf69 draft

Uploaded
author davidvanzessen
date Thu, 17 Sep 2015 10:59:08 -0400
parents 570fef3d876f
children 2cf89b865202
files RScript.r
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/RScript.r	Wed Sep 16 05:31:09 2015 -0400
+++ b/RScript.r	Thu Sep 17 10:59:08 2015 -0400
@@ -249,8 +249,8 @@
 					patient.fuzzy = patient.fuzzy[-1,]
         }
 				
-      } else if (sum(match.filter) > 2){
-				cat(paste("<tr><td>", "Multiple matches found for", first.merge, "in", patient, "</td></tr>", sep=""), file=logfile, append=T)
+      } else if (sum(match.filter) > 1){
+				cat(paste("<tr><td>", "Multiple matches (", sum(match.filter), ") found for", first.merge, "in", patient"</td></tr>", sep=" "), file=logfile, append=T)
         patient.fuzzy = patient.fuzzy[-1,]
       } else {
         patient.fuzzy = patient.fuzzy[-1,]