Skip to content

Commit a83058a

Browse files
committed
Test fixes after 4hhb remediation
1 parent f64b73c commit a83058a

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

biojava-integrationtest/src/test/java/org/biojava/nbio/structure/test/io/TestCrystallographicMetadata.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public void test4hhb() throws Exception {
5252

5353
Structure s = StructureIO.getStructure("4hhb");
5454

55-
// 4hhb is one of the few entries that aren't in the standard coordinate frame convention
56-
assertTrue(s.getCrystallographicInfo().isNonStandardCoordFrameConvention());
55+
// 4hhb was one of the few entries in a non-standard coordinate frame convention: but after a remediation in early 2023 it was finally fixed
56+
assertFalse(s.getCrystallographicInfo().isNonStandardCoordFrameConvention());
5757

5858
// 4hhn has a standard SG
5959
assertFalse(s.getCrystallographicInfo().isNonStandardSg());

biojava-integrationtest/src/test/java/org/biojava/nbio/structure/test/xtal/TestCrystalBuilder.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -173,22 +173,4 @@ public void test2H2Z() throws IOException, StructureException {
173173

174174
}
175175

176-
@Test
177-
public void test4HHB() throws IOException, StructureException {
178-
179-
// 4hhb is a very old entry with a non-standard coordinate frame convention, we should calculate only AU contacts
180-
181-
AtomCache cache = new AtomCache();
182-
183-
StructureIO.setAtomCache(cache);
184-
185-
cache.setFiletype(StructureFiletype.CIF);
186-
Structure s1 = StructureIO.getStructure("4HHB");
187-
CrystalBuilder cb = new CrystalBuilder(s1);
188-
StructureInterfaceList interfaces = cb.getUniqueInterfaces(5.5);
189-
// 5 interfaces in the AU: the 4 of the tetramer + 1 cross-interface
190-
assertEquals(5, interfaces.size());
191-
192-
}
193-
194176
}

0 commit comments

Comments
 (0)