You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: structure/chemcomp.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ The [Chemical Component Dictionary](http://www.wwpdb.org/ccd.html) is an externa
7
7
8
8
BioJava utilizes the Chem. Comp. Dictionary to achieve a chemically correct representation of each group. To make it clear how this can work, let's take a look at how [Selenomethionine](http://en.wikipedia.org/wiki/Selenomethionine) and water is dealt with:
@@ -17,7 +17,7 @@ BioJava utilizes the Chem. Comp. Dictionary to achieve a chemically correct repr
17
17
}
18
18
}
19
19
}
20
-
</pre>
20
+
```
21
21
22
22
This will give this output:
23
23
@@ -58,7 +58,7 @@ By default BioJava ships with a minimal representation of standard amino acids,
58
58
59
59
You can enable the first behaviour by doing using the [FileParsingParameters](http://www.biojava.org/docs/api/org/biojava/bio/structure/io/FileParsingParameters.html) class:
60
60
61
-
<pre>
61
+
```java
62
62
AtomCache cache =newAtomCache();
63
63
64
64
// by default all files are stored at a temporary location.
@@ -74,10 +74,10 @@ You can enable the first behaviour by doing using the [FileParsingParameters](ht
If you want to enable the second behaviour (slow loading of all chem comps at startup, but no further small delays later on) you can use the same code but change the behaviour by switching the [ChemCompProvider](http://www.biojava.org/docs/api/org/biojava/bio/structure/io/mmcif/ChemCompProvider.html) implementation in the [ChemCompGroupFactory](http://www.biojava.org/docs/api/org/biojava/bio/structure/io/mmcif/ChemCompGroupFactory.html)
0 commit comments