Test version to switch branches
[jalview.git] / src / jalview / analysis / AlignSeq.java
index d394024..1b5dab4 100755 (executable)
@@ -1456,7 +1456,7 @@ public class AlignSeq
     score *= coverage;
 
     //System.out.println(String.format("prepre-score: %f, pre-score: %f, longlength: %d\nscore: %1.16f, mean: %f, max: %d", preprescore, prescore, _max[1], score, this.meanScore, this.hypotheticMaxScore));
-    float minScore = 1f;
-    this.alignmentScore = (preprescore < minScore) ? Float.NaN : score;
+    float minScore = 0f;
+    this.alignmentScore = (score <= minScore) ? Float.NaN : score;
   }
 }