From: jprocter Date: Fri, 6 Nov 2009 17:15:20 +0000 (+0000) Subject: only append score if it is not NaN X-Git-Tag: Release_2_5~158 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7cfd47072d793d9da3cd8b5d15a3204d1ec47a20;p=jalview.git only append score if it is not NaN --- diff --git a/src/jalview/io/FeaturesFile.java b/src/jalview/io/FeaturesFile.java index 1afe4c4..9ee35b4 100755 --- a/src/jalview/io/FeaturesFile.java +++ b/src/jalview/io/FeaturesFile.java @@ -745,9 +745,8 @@ public class FeaturesFile extends AlignFile out.append("\t"); } - out.append(seqs[i].getName() + "\t-1\t" + next[j].begin + "\t" - + next[j].end + "\t" + next[j].type + ((visible.get(next[j].type) instanceof GraduatedColor) ? "\t"+next[j].score+"\n" : "\n")); + + next[j].end + "\t" + next[j].type + ((next[j].score!=Float.NaN) ? "\t"+next[j].score+"\n" : "\n")); } } }