File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed
Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -13,25 +13,25 @@ class that can be accessed from
1313
1414``` java
1515
16- ` public static void main(String [] args) throws Exception {`
17- ` `
18- ` String code = " 1aoi" ;`
19-
20- ` AtomCache cache = new AtomCache ();`
21- ` `
22- ` Structure struc = cache. getStructure(code);`
23- ` `
24- ` PDBHeader header = struc. getPDBHeader();`
25- ` `
26- ` System . out. println(header. toString());`
27- ` `
28- ` System . out. println(" available compounds:" );`
29- ` List ` < Compound > ` compounds = struc. getCompounds();`
30- ` for (Compound compound: compounds){`
31- ` System . out. println(compound);`
32- ` }`
33- ` `
34- ` }`
16+ public static void main(String [] args) throws Exception {
17+
18+ String code = " 1aoi" ;
19+
20+ AtomCache cache = new AtomCache ();
21+
22+ Structure struc = cache. getStructure(code);
23+
24+ PDBHeader header = struc. getPDBHeader();
25+
26+ System . out. println(header. toString());
27+
28+ System . out. println(" available compounds:" );
29+ List<Compound > compounds = struc. getCompounds();
30+ for (Compound compound: compounds){
31+ System . out. println(compound);
32+ }
33+
34+ }
3535
3636```
3737
You can’t perform that action at this time.
0 commit comments