X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjalview%2Fio%2FAnnotationFile.js;h=9ff8e6bf56811c690eea32221a22b326c8e8d15f;hp=59a4df572064f236351d0d12f1e5da46c311741f;hb=7301a2415adab88038b291fc54caeeb3a5a47a44;hpb=6154cb57a6eac3bb1344b8342495f5bb701ee921 diff --git a/site/j2s/jalview/io/AnnotationFile.js b/site/j2s/jalview/io/AnnotationFile.js index 59a4df5..9ff8e6b 100644 --- a/site/j2s/jalview/io/AnnotationFile.js +++ b/site/j2s/jalview/io/AnnotationFile.js @@ -59,9 +59,9 @@ if (!comma) { comma = true; } else { this.text.append (","); -}this.text.append (r[0]); +}this.text.append ("" + r[0]); this.text.append ("-"); -this.text.append (r[1]); +this.text.append ("" + r[1]); } this.text.append ("\n"); }if (annotations != null) { @@ -272,7 +272,7 @@ this.text.append (this.newline); this.text.append ("SEQUENCE_GROUP\t"); this.text.append (sg.getName ()); this.text.append ("\t"); -this.text.append ((seqrep.findPosition (sg.getStartRes ()))); +this.text.append ("" + (seqrep.findPosition (sg.getStartRes ()))); this.text.append ("\t"); this.text.append ((seqrep.findPosition (sg.getEndRes ()))); this.text.append ("\t");