Skip to content

Commit 3c83e8b

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 04d3f05 + a83058a commit 3c83e8b

File tree

3 files changed

+4
-20
lines changed

3 files changed

+4
-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
}

biojava-structure-gui/src/test/java/org/biojava/nbio/structure/symmetry/TestJmolSymmetryScriptGenerator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
import org.biojava.nbio.structure.symmetry.core.SymmetryPerceptionMethod;
4040
import org.biojava.nbio.structure.symmetry.jmolScript.JmolSymmetryScriptGeneratorDn;
4141
import org.junit.Before;
42+
import org.junit.Ignore;
4243
import org.junit.Test;
4344

4445
/**
@@ -50,6 +51,7 @@ public class TestJmolSymmetryScriptGenerator {
5051
public void setUp() {
5152
}
5253

54+
@Ignore("This test is broken since 4hhb remediation in early 2023. In any case, the comparison to the hard-coded polyhedron coordinates wasn't a very good way to test.")
5355
@Test
5456
public void testPolygon() throws IOException, StructureException {
5557
Structure struc = StructureIO.getStructure("4hhb");

0 commit comments

Comments
 (0)