File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
biojava-structure/src/test/java/org/biojava/nbio/structure/io Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ package org .biojava .nbio .structure .io ;
2+
3+ import junit .framework .TestCase ;
4+ import org .biojava .nbio .structure .Structure ;
5+ import org .biojava .nbio .structure .StructureException ;
6+ import org .biojava .nbio .structure .StructureIO ;
7+ import org .junit .Test ;
8+
9+ import java .io .IOException ;
10+
11+ /**
12+ * Created by ap3 on 31/07/2015.
13+ */
14+ public class TestURLBasedFileParsing extends TestCase {
15+
16+ @ Test
17+ public void testMMcifURL (){
18+
19+ String u = "http://ftp.wwpdb.org/pub/pdb/data/biounit/mmCIF/divided/nw/4nwr-assembly1.cif.gz" ;
20+
21+ try {
22+ Structure s = StructureIO .getStructure (u );
23+
24+ System .out .println (s );
25+ } catch (Exception e ) {
26+ e .printStackTrace ();
27+ }
28+
29+
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments