Version 1.7.7¶
OEChem 1.7.7¶
Minor bug fixes¶
The OELibraryGen class checks the connectivity of each generated product. If any of the atom pairs of a product is connected by more then one bond, for example in molecule
C1C, then that product is rejected and not returned by theOELibraryGen.GetProductsmethod.Fixed a bug that would invalidate an atom iterator after deleting the atom the iterator currently points at. This would only occur on molecules that already had deleted atoms when the iterator was constructed from a
GetAtomsmethod that takes a predicate.oemolstreambase.GetFlavorwill no longer crash when given a format larger thanOEFormat.MAXFORMAT.OEAddMolswill now set the dimension of the left hand side to the dimension of the right hand side if the dimension of the left hand side is zero. This allows an empty molecule to be used to accumulate 3 dimensional molecule without losing the dimension.Fixed a bug in the procedure for generating atom names for PDB files that could cause a crash when some atoms have very high atom indices.
OEBio 1.7.7¶
New features¶
Added the
OESymmetryFractionalToCartesianandOESymmetryCartesianToFractionalfunctions to swap between crystal coordinates and cartesian coordinates.Added the
OEBuildUnitCellfunction to apply the symmetry operations to the asymmetric unit cell to generate the complete unit cell given a molecule and a spacegroup.OESetCrystalSymmetrynow has a force flag that sets the symmetry parameters even if the cell restrictions are violated.
Bug fixes¶
OECopyCrystalSymmetrynow follows standard OpenEye guidelines for argument position and naming to always have the output parameter first. This is an API breaking change, code that previously usedOECopyCrystalSymmetrywill no longer work.Slightly reduced memory footprint of symmetry operations.
Crystal spacegroup names from PDB files are now handled more robustly when searching for CCP4 long and short names.
Added symmetry operations for the P21/n space group.
OESystem 1.7.7¶
New features¶
Adding the
OESystem.OETransparentColorcolor constant that is used in OEDepict TK to generate PNG images with a transparent background.The
OEGeom*functions should now be fully wrapped in the target languages: Python, Java, and C#.
Bug fixes¶
The OEPredIter increment and decrement methods will now always move the underlying iterator before checking the validity of the underlying iterator. This fixed the OEChem bug that invalidated an atom iterator after the current atom was deleted.
Fixed a memory leak inside
OEIter.Pushthat takes a predicate.OECopyBaseDataused to callClearon the destination object before copying the data. This could clear an entire molecule instead of the just the generic data.OECopyBaseDatawill now only delete the existing generic data.
OEPlatform 1.7.7¶
New features¶
OEIsNormalNumadded to return whether a floating point number is normalized, denormalized, or zero.OEGetProcessMemUsageadded to return the amount of memory being used by the current process.