Skip to content

Commit 5de0163

Browse files
committed
Fixing test after PDB id obsoletion
1 parent 53179ad commit 5de0163

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

biojava-structure/src/test/java/org/biojava/nbio/structure/align/util/AtomCacheTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,14 @@ public void tearDown() {
102102
*/
103103
@Test
104104
public void testGetStructureForDomain1() throws IOException, StructureException {
105-
String ranges = "A:328-396,B:518-527";
106-
Structure whole = cache.getStructure("1h6w");
105+
// note that prior to Apr 2023, the example here was 1h6w, but it was obsoleted
106+
String ranges = "A:246-262,B:263-345";
107+
Structure whole = cache.getStructure("3bzy");
107108
AtomPositionMap map = new AtomPositionMap(StructureTools.getAllAtomArray(whole), AtomPositionMap.ANYTHING_MATCHER);
108109
List<ResidueRangeAndLength> rrs = ResidueRangeAndLength.parseMultiple(ranges, map);
109110
int expectedLengthA = rrs.get(0).getLength();
110111
int expectedLengthB = rrs.get(1).getLength();
111-
Structure structure = cache.getStructureForDomain("d1h6w.2");
112+
Structure structure = cache.getStructureForDomain("d3bzy.1");
112113
assertEquals(2, structure.getPolyChains().size());
113114
Chain a = structure.getPolyChainByPDB("A");
114115
Chain b = structure.getPolyChainByPDB("B");

0 commit comments

Comments
 (0)