Skip to content

Commit 23e9d32

Browse files
committed
More backtick fixes
1 parent 5aaf98c commit 23e9d32

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

_wikis/BioJava:CookBook:PDB:mmcif.md

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -133,31 +133,32 @@ load your own, custom data structures. For this you will require to
133133
implement the [MMcifConsumer
134134
interface](http://www.biojava.org/docs/api/org/biojava/bio/structure/io/mmcif/MMcifConsumer.html)
135135

136-
```java @since 1.7
136+
```java
137+
@since 1.7
137138

138-
`   public static void main(String[] args){`
139+
   public static void main(String[] args){
139140

140-
`       String fileName = args[0];`
141-
`       `
142-
`       InputStream inStream =  new FileInputStream(fileName);`
143-
`       `
144-
`       MMcifParser parser = new SimpleMMcifParser();`
141+
       String fileName = args[0];
142+
       
143+
       InputStream inStream =  new FileInputStream(fileName);
144+
       
145+
       MMcifParser parser = new SimpleMMcifParser();
145146

146-
`       SimpleMMcifConsumer consumer = new SimpleMMcifConsumer();`
147+
       SimpleMMcifConsumer consumer = new SimpleMMcifConsumer();
147148

148-
`       // The Consumer builds up the BioJava - structure object.`
149-
`               // you could also hook in your own and build up you own data model.          `
150-
`       parser.addMMcifConsumer(consumer);`
149+
       // The Consumer builds up the BioJava - structure object.
150+
               // you could also hook in your own and build up you own data model.          
151+
       parser.addMMcifConsumer(consumer);
151152

152-
`       try {`
153-
`           parser.parse(new BufferedReader(new InputStreamReader(inStream)));`
154-
`       } catch (IOException e){`
155-
`           e.printStackTrace();`
156-
`       }`
153+
       try {
154+
           parser.parse(new BufferedReader(new InputStreamReader(inStream)));
155+
       } catch (IOException e){
156+
           e.printStackTrace();
157+
       }
157158

158-
`               // now get the protein structure.`
159-
`       Structure cifStructure = consumer.getStructure();`
160-
`                     `
159+
               // now get the protein structure.
160+
       Structure cifStructure = consumer.getStructure();
161+
                     
161162

162163
}
163164

0 commit comments

Comments
 (0)