File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
biojava-structure/src/test/java/org/biojava/nbio/structure/io Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -478,12 +478,12 @@ private static int[] countEntityTypes(List<EntityInfo> entities) {
478478 @ Test
479479 public void testStructureWithBranchedEntities () throws IOException {
480480 // Example carbohydrate remediation file to be released in July 2020
481- URL url = new URL ("https://raw.githubusercontent.com/pdbxmmcifwg/carbohydrate-extension/master/examples/models/ 1B5F-carb.cif " );
482- InputStream inStream = url .openStream ();
481+ URL url = new URL ("https://models.rcsb.org/ 1B5F.bcif.gz " );
482+ InputStream inStream = new GZIPInputStream ( url .openStream () );
483483
484484 Structure structure = CifStructureConverter .fromInputStream (inStream );
485485
486- assertEquals (7 , structure .getEntityInfos ().size ());
486+ assertEquals (6 , structure .getEntityInfos ().size ());
487487
488488 assertEquals (2 , structure .getEntityById (1 ).getChains ().size ());
489489 assertEquals (2 , structure .getEntityById (2 ).getChains ().size ());
You can’t perform that action at this time.
0 commit comments