Skip to content

Commit 7ca70e7

Browse files
committed
another update to new similarity calculation
1 parent a62a8b5 commit 7ca70e7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

biojava-integrationtest/src/test/java/org/biojava/nbio/structure/test/TestSECalignment.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,11 @@ public void testOldSecOutput() throws Exception {
7777
28, afpChainOrig.getGapLen());
7878

7979
//identity should be 0.9569
80-
assertTrue("alinment ID is < 0.95 ! (" + afpChainOrig.getIdentity()+")" , afpChainOrig.getIdentity() > 0.95);
81-
assertTrue("alignment ID is > 0.96 ! (" + afpChainOrig.getIdentity()+")" ,afpChainOrig.getIdentity() < 0.96);
80+
assertTrue("alignment ID is < 0.95 ! (" + afpChainOrig.getIdentity()+")" , afpChainOrig.getIdentity() > 0.95);
81+
assertTrue("alignment ID is > 0.999 ! (" + afpChainOrig.getIdentity()+")" , afpChainOrig.getIdentity() < 0.999);
8282

8383
String xmlComp = AFPChainXMLConverter.toXML(afpChainOrig, ca1, ca2);
8484

85-
8685
FlipAFPChainTest t = new FlipAFPChainTest();
8786
t.printFirstMismatch(xml, xmlComp);
8887
StringManipulationTestsHelper.assertEqualsIgnoreEndline(xml, xmlComp);

0 commit comments

Comments
 (0)