JAL-1807 includes ?j2sdebug flag and DebugJS._(msg)
[jalviewjs.git] / site / j2s / jalview / io / AnnotationFile.js
index 59a4df5..9ff8e6b 100644 (file)
@@ -59,9 +59,9 @@ if (!comma) {
 comma = true;\r
 } else {\r
 this.text.append (",");\r
-}this.text.append (r[0]);\r
+}this.text.append ("" + r[0]);\r
 this.text.append ("-");\r
-this.text.append (r[1]);\r
+this.text.append ("" + r[1]);\r
 }\r
 this.text.append ("\n");\r
 }if (annotations != null) {\r
@@ -272,7 +272,7 @@ this.text.append (this.newline);
 this.text.append ("SEQUENCE_GROUP\t");\r
 this.text.append (sg.getName ());\r
 this.text.append ("\t");\r
-this.text.append ((seqrep.findPosition (sg.getStartRes ())));\r
+this.text.append ("" + (seqrep.findPosition (sg.getStartRes ())));\r
 this.text.append ("\t");\r
 this.text.append ((seqrep.findPosition (sg.getEndRes ())));\r
 this.text.append ("\t");\r