Skip to content

Commit 16f60c5

Browse files
committed
Update BioJava:CookBook:PDB:header.md
1 parent 34e3b04 commit 16f60c5

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

_wikis/BioJava:CookBook:PDB:header.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)