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
OEHighlightByLasso
class or via theOEHighlightByLasso::SetPosition
method.The OE2DPath class has been extended to handle “empty” 2D paths:
OE2DPath
default constructorOE2DPath::AddStartPoint
methodOE2DPath::SetClosed
methodOE2DPath::IsValid
method
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::GetSVGClass
methods of the OEImageBase base class and its derived classesOEDrawSVGHoverText
,OEDrawSVGToggleText
, andOEAddSVGClickEvent
functions
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
CGContextSelectFont
andCGContextShowTextAtPoint
Core 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
Arial
CourierNewPS
Helvetica
TimesNewRomanPS
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
OEMDLPerceiveBondStereo
function after finding the best 2D alignment with theOEPrepareAlignedDepiction
function 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.