Skip to content

Commit

Permalink
Updating test
Browse files Browse the repository at this point in the history
  • Loading branch information
josemduarte committed Jan 5, 2024
1 parent 05c229c commit a3d9437
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -478,12 +478,12 @@ private static int[] countEntityTypes(List<EntityInfo> entities) {
@Test
public void testStructureWithBranchedEntities() throws IOException {
// Example carbohydrate remediation file to be released in July 2020
URL url = new URL("https://raw.githubusercontent.com/pdbxmmcifwg/carbohydrate-extension/master/examples/models/1B5F-carb.cif");
InputStream inStream = url.openStream();
URL url = new URL("https://models.rcsb.org/1B5F.bcif.gz");
InputStream inStream = new GZIPInputStream(url.openStream());

Structure structure = CifStructureConverter.fromInputStream(inStream);

assertEquals(7, structure.getEntityInfos().size());
assertEquals(6, structure.getEntityInfos().size());

assertEquals(2, structure.getEntityById(1).getChains().size());
assertEquals(2, structure.getEntityById(2).getChains().size());
Expand Down

0 comments on commit a3d9437

Please sign in to comment.