OEDepict TK 2.3.5¶
New features¶
A new function,
OEConfigure2DMolDisplayOptions, has been added to help generate consistent command line interfaces for depiction examples and utilities. Generated interfaces now include correspondence between each command line option and its related entrypoint in OEDepict TK. For more details see the documentation forOEConfigure2DMolDisplayOptions.A position property has been added to the “lasso” highlighting style that allows drawing the highlights either below or above the depicted molecules. This property can be set either by the constructor of the
OEHighlightByLassoclass or via theOEHighlightByLasso.SetPositionmethod.The OE2DPath class has been extended to handle “empty” 2D paths:
OE2DPathdefault constructorOE2DPath.AddStartPointmethodOE2DPath.SetClosedmethodOE2DPath.IsValidmethod
Preliminary API¶
A new Preliminary API has been added to support the generation of interactive SVG images:
OESVGClass and OESVGGroup classes
OEImageBase.PushGroup,OEImageBase.PopGroup,OEImageBase.NewSVGGroup,OEImageBase.NewSVGClass,OEImageBase.GetSVGGroup, andOEImageBase.GetSVGClassmethods of the OEImageBase base class and its derived classesOEDrawSVGHoverText,OEDrawSVGToggleText, andOEAddSVGClickEventfunctions
Hover the mouse over any atom |
Click on any atom |
|
|
Hover the mouse over any bond |
Click on the middle on any bond |
|
|
Major bug fixes¶
On OSX, the deprecated
CGContextSelectFontandCGContextShowTextAtPointCore Graphics functions have been replaced. These function were used to handle fonts when drawing text in PNG images. OEDepict TK currently supports the following font mapping on OSX for PNG images:OpenEye Font Family Type
Font Name
ArialCourierNewPSHelveticaTimesNewRomanPS
Minor bug fixes¶
When performing fixed coordinate molecule alignment (see
OEAlignmentOptions.SetFixedCoords), only the set of atoms considered during the alignment are now used to evaluate the quality of the alignment. As a result, fixed coordinate alignment succeeds more frequently, circumventing the need to fall back to the more exhaustive alignment method.Bond stereo information is now re-perceived by calling the
OEMDLPerceiveBondStereofunction after finding the best 2D alignment with theOEPrepareAlignedDepictionfunction when the alignment is defined by either an OESubSearch or an OEMCSSearch object.
Python-specific changes¶
The following Python functions have been added:
Documentation changes¶
A new chapter, Generating Interactive SVG Images, has been added.
A new section, Python Cookbook Examples, has been added.