OEDepict TK 2.0.4¶
New features¶
- Pie drawing, semi-circle, methods added to the following classes: 
- An example of a python-based web interface and web service have been added. The code for this example was on GitHub, as it required multiple files. 
- Enabling the depiction of MDL’s enhanced stereochemical representation by default. See the - OEAtomStereoStyle.Display.MDLStereoCenterconstant.
Major bug fixes¶
- The following molecule depiction defaults have been changed: - The background color is now pure white instead of a very light grey. 
- The bond width is now 2.0 instead of 1.0. 
 - See the effect of these changes in Table: Example of default molecule depictions. - Example of default molecule depictions¶ - OEDepict TK 2.0.3 - OEDepict TK 2.0.4     
Minor bug fixes¶
- Adding the depiction of R-groups for molecules that have not been initialized from a MDL query file. See the example the in the Table: Example of depicting R-Groups. - Example of depicting R-Groups¶ - OEDepict TK 2.0.3 - OEDepict TK 2.0.4     
- Fixed a bug that would erroneously hide the following types of hydrogens in a depiction: - isolated hydrogens 
- charged hydrogens 
- hydrogen isotopes 
 
- Fused ring system templates added for 29 different types of complex depiction cases. 
- OE2DAtomDisplay.SetHCountmethod will now place the hydrogen position correctly as returned by- OE2DAtomDisplay.GetHPosition, i.e., the position relative to the heavy atom. An incorrect position was possible when generating 2D coordinates with- OEPrepareDepictionwith the parameter- suppressHset to- false.
- The stipple factor of a line in now based on the line width instead of the scaling factor of the molecule display. - Example of line width affecting the stipple factor¶ - OEDepict TK 2.0.3 - OEDepict TK 2.0.4     
- Atom stereo depiction improved: - The number of individual lines used in the - OEBondDisplayType.Hashand the- OEBondDisplayType.Wavystereo bonds now depends on the bond width.
- Heuristic used to shorten hash and wedge stereo bonds improved. 
 - See the effect of these improvements in Table: Example of depicting atom stereo. - Example of depicting atom stereo¶ - OEDepict TK 2.0.3 - OEDepict TK 2.0.4     
- OEBondDisplayType.Anybond type will now properly set the stipple factor for the end pen of that bond.
- Fixing the problem when the default atom label colors were not updated after atom color style change. For example when setting the atom color style to - OEAtomColorStyle.WhiteMonochromethe super atoms remained pink rather than changed to black. See the effect of fix in Table: Example of using the ‘WhiteMonochrome’ atom color style.- Example of using the ‘WhiteMonochrome’ atom color style¶ - OEDepict TK 2.0.3 - OEDepict TK 2.0.4     
Documentation changes¶
- All images are automatically regenerated to reflect the changes made since the previous release.