2022_09_1b1 (Q3 2022) Release #5632
greglandrum
started this conversation in
Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Release_2022.09.1b1
(Changes relative to Release_2022.03.1)
Acknowledgements
Jonathan Bisson, Andy Cai, David Cosgrove, JP Ebejer, Aleš Erjavec, Peter
Gedeck, Mosè Giordano, Sreya Gogineni, Emanuele Guidotti, Hyeonki Hong, Gareth
Jones, Per Johnsson, Maria Kadukova, Eisuke Kawashima, Brian Kelley, Alan
Kerstjens, Michel Moreau, Dan Nealschneider, Santeri Puranen, Ricardo
Rodriguez-Schmidt, Guy Rosin Jeff van Santen, David Schaller, David W.H.
Swenson, Paolo Tosco, Antonio Trande, Ivan Tubert-Brohman, Rachel Walker,
balducci, GLPG-GT
Highlights
Backwards incompatible changes
GetBestRMS() and CalcRMS()
by default now treat terminal conjugated functionalgroups like carboxylate and nitro symmetrically. For example, the group
C(=[O:1])[O-:2]
can match in either orientation. The SMARTS pattern which isused to recognize affected groups is:
[{atomP};$([{atomP}]-[*]=[{atomP}]),$([{atomP}]=[*]-[{atomP}])]~[*]
where{atomP}
isO,N;D1
. The previous behavior can be restored using by settingthe
symmetrizeConjugatedTerminalGroups
argument to false when callingGetBestRMS() and CalcRMS()
#defines
are no longer provided in/used by the C++ code orRDConfig.h
:BUILD_COORDGEN_SUPPORT
: useRDK_BUILD_COORDGEN_SUPPORT
insteadRDK_THREADSAFE_SSS
: useRDK_BUILD_THREADSAFE_SSS
insteadUSE_BUILTIN_POPCOUNT
: useRDK_OPTIMIZE_POPCNT
insteadChem.GetSSSR()
now returns the SSSR rings found insteadof just returning the count of rings. This is consistent with
Chem.GetSymmSSSR()
and more useful.SmilesParserParams.useLegacyStereo
unless it is set tofalse
. See thedeprecation note about
useLegacyStereo
below for more information.set_2d_coords_aligned()
now takes an additionalchar **match_json
parameter; if
match_json
is not notNULL
,*match_json
will point to aJSON string containing the atoms and bonds which are part of the match.
It is up to the user to free this string.
Bug Fixes:
(github issue H atoms in SGroups cause RDKit to clear SGroups after parsing #2716 from ricrogz)
(github issue RDKit misplaces stereochemistry/chirality information for small ring #2984 from d-b-w)
(github issue DrawMorganBit returns empty image for "isolated" fingerprints #4242 from eguidotti)
(github issue Unable to serialize coordinates as floats in combination with *Props #4621 from santeripuranen)
(github issue Image Generation: Highlighting looks off when bondLineWidth is increased for PNG generation #5122 from rachelnwalker)
(github issue RDKit crashes on CIP label calculation #5142 from ricrogz)
(github pull Modified the JS tests to comply with older nodejs versions #5148 from ptosco)
(github issue Presence of exocyclic S/D, S/A or D/A query bonds prevents benzene from being recognized as aromatic #5152 from rachelnwalker)
(github pull Fix for RGD dummy atom bug in RDKit::replaceCore #5154 from jones-gareth)
(github issue KekulizeException of molecule from Smarts pattern with new RDKit release #5156 from schallerdavid)
(github pull Very small fix to avoid an AttributeError #5163 from ptosco)
(github issue issue with V3000 SD files containing enhanced stereochemistry information #5165 from GLPG-GT)
(github issue Draw.MolToQPixmap raises a TypeError with Python 3.10 #5166 from ales-erjavec)
(github issue Standardization via RDKit breaks molecules #5169 from malteseunderdog)
(github issue Multiple calls to BlockLogs() permanently disable logging #5172 from ricrogz)
(github pull Check architecture of the target system to optimise popcnt #5182 from giordano)
WIN32
instead ofMSVC
in CMake files(github pull More consistently check for
WIN32
instead ofMSVC
in CMake files #5183 from giordano)(github issue Atom indices inside double bond #5185 from DavidACosgrove)
(github issue Bug in IPython display after setting a molecule property #5192 from dwhswenson)
(github issue Zero & coordinate bonds are being taken into account for chirality #5196 from ricrogz)
(github issue FindPotentialStereo does not clean stereoflags from atoms which cannot be stereocenters #5200 from greglandrum)
(github pull Fixes array overflow in FMCS code #5205 from ricrogz)
(github issue PeriodicTable initialization is not thread safe #5207 from ricrogz)
(github issue Find and remove deprecated ifdefs #5210 from greglandrum)
(github pull Fix use of not thread safe function localtime() #5211 from ricrogz)
(github pull Fix duplicate non thread safe check in VarianceDataForLabel #5212 from ricrogz)
(github issue RDKit::Utils::LocaleSwitcher is not thread safe #5214 from ricrogz)
(github issue Core with query atoms and no user definded attachment points may create poor decompostions #5222 from jones-gareth)
(github issue error: format not a string literal and no format arguments #5234 from sagitter)
(github pull Fix qt build under VS2019 #5238 from ricrogz)
(github issue Precondition violation on chiral Atoms with zero order bonds #5239 from ricrogz)
(github issue pyForceFieldConstraints test failed #5252 from sagitter)
(github issue drawReaction() should not hit a PRECONDITION with prepareMolsBeforeDrawing=false #5259 from ptosco)
(github issue Atom annotations poorly placed on highlighted atoms #5269 from DavidACosgrove)
(github pull Make the aliphatic imine rule more closely match the definition in the paper #5270 from greglandrum)
(github issue rdMolDraw2D.PrepareMolForDrawing(None) causes segmentation fault #5298 from perjo)
(github issue MolStandardize: uncharger failing in molecules with zwitterionic sulfone #5317 from greglandrum)
(github issue MolStandardize: some operations throwing on non-standardized molecules #5318 from greglandrum)
(github issue MolStandardize: cleanup() function not correctly reassigning stereochemistry #5320 from greglandrum)
(github issue Runtime error when writing reaction with substance group to V3000 rxnblock #5324 from rachelnwalker)
(github issue MolFromMolBlock should correctly assign stereochemistry to 3D molecules #5327 from greglandrum)
(github issue assignChiralTypesFrom3D() ignores wiggly bonds #5328 from greglandrum)
(github issue Molzip segfaults instead of throwing an error when multiple bonds are formed to the same pairs of atoms #5334 from loluwot)
(github issue leftover debugging code makes build of 2022_03_3 tarball fail #5351 from balducci)
(github pull Prevent wedging ring bonds #5356 from greglandrum)
(github pull Class info info missing for for wavy bonds in SVGs. #5358 from DavidACosgrove)
(github issue MolToSmiles with doRandom=True raises errors with molecules containing fragments. #5372 from greglandrum)
(github pull Restore #5103 that was accidentally reverted in #5132 #5381 from ptosco)
(github issue cairo error when using similarity maps #5383 from greglandrum)
(github issue MolDraw2DQt and MolDraw2DJS don't draw wavy bonds #5386 from greglandrum)
(github issue MolDraw2DQt draws brackets incorrectly #5389 from greglandrum)
(github pull PandasTools should not always bring in IPythonConsole #5392 from greglandrum)
(github issue Tautomer enumeration removes stereochemistry depending on how aromatic rings are defined in SMILES #5402 from greglandrum)
(github issue Incorrect perception of pseudoasymmetric centers on non-canonical molecules #5403 from ptosco)
(github pull Fix performance issue in RingUtils::checkFused #5410 from rachelnwalker)
(github issue Multi-coloured highlights go wrong with small fonts #5420 from DavidACosgrove)
(github issue Parsing a Mol block/file does not clear the "molTotValence" property from atoms #5423 from ricrogz)
(github issue Pre-condition Violation - Failed Expression: dir == Bond::ENDUPRIGHT || dir == Bond::ENDDOWNRIGHT #5433 from bjonnh-work)
(github issue MolZip doesn't preserve bond directions when zipping #5450 from bp-kelley)
(github issue Draw option noAtomLabels and explicit hydrogen works badly #5453 from DavidACosgrove)
(github pull Fix integer overflow in RGroupDecomposition strategy GA #5460 from bp-kelley)
(github issue Invalid number of radical electrons calculated for [Pr+4] #5462 from bjonnh-work)
(github issue CXSmiles isn't properly escaping floating point properties #5466 from bp-kelley)
(github issue Crossed trans bonds in rings #5486 from DavidACosgrove)
(github pull MolDraw2D::drawMolecules() should not crash on null molecules #5503 from ptosco)
(github issue Running kekulization on mols with query bonds will either fail or return incorrect results. #5505 from ricrogz)
(github issue Regression in the way aldehydes are drawn in current master #5511 from ptosco)
(github issue Drawing code gives segmentation fault. #5534 from DavidACosgrove)
(github issue RGD may yield poor depictions #5569 from jones-gareth)
(github pull Fix a problem when generating conformers for molecules with larger heteroatoms in conjugated 5-rings #5586 from greglandrum)
(github pull Avoid incurring into division by zero in normalizeDepiction #5619 from ptosco)
(github pull Allow properties to be displayed in jupyter when 3D rendering is enabled #5624 from greglandrum)
Cleanup work:
(github pull update release notes, do deprecations #5161 from greglandrum)
(github pull Fix typo: quarternary --> quaternary #5243 from guyrosin)
(github pull fix doxygen comments #5254 from e-kwsm)
(github pull make the catch tests build faster #5284 from greglandrum)
(github pull make the logging tests more robust #5312 from greglandrum)
(github pull Update docs for ReplaceSubstructs #5343 from i-tub)
(github pull Minimallib NPM release fixes - wrong node bin command in Dockerfile and prepublish npm script command replacement #5349 from MichelML)
(github pull Update code formatting in GettingStartedInPython.rst #5350 from gedeck)
(github pull fix: rdkit.Chem.rdDistGeom.EmbedMultipleConfs docstring indentation #5404 from jvansan)
(github pull Remove obsolete files related to rdkit-js + write a rescoped README for MinimalLib #5432 from MichelML)
(github pull Fixes "DeprecationWarning: invalid escape sequence \C" when importing EnumerateStereoisomers #5478 from ricrogz)
(github pull Fix double to float downcasting warning #5479 from ricrogz)
(github pull Remove spurious doxygen tag #5488 from ptosco)
(github pull Add deprecation warning to docstring. #5498 from DavidACosgrove)
(github pull Remove unnecessary compiler flags that would be ignored anyway #5587 from ptosco)
(github pull Update AvalonTools to version 2.0.1 #5591 from ptosco)
New Features and Enhancements:
(github pull Initial support for non-tetrahedral stereochemistry #5084 from greglandrum)
(github pull Move to C++17 #5155 from greglandrum)
(github pull Add multi-template isMoleculeXOfReaction overloads #5171 from AlanKerstjens)
(github pull Add support for Qt6 #5203 from ricrogz)
(github pull Make atom, bond iterators usable in STL algorithms #5204 from ricrogz)
(github pull Make TautomerQuery serializable #5248 from greglandrum)
(github pull add boost::serialization support to ROMol #5249 from greglandrum)
(github pull Add support for Pol and Mod pseudoatoms #5264 from greglandrum)
(github pull Allow the compiler to generate default ChemicalReaction copy assignment operator #5265 from AlanKerstjens)
(github pull cdxml parser #5273 from bp-kelley)
(github pull Expose reaction drawing and additional FPs in MinimalLib #5277 from ptosco)
(github pull Expose mappings of atom/bond indices abbreviated mol->original mol #5300 from ptosco)
(github pull Start using string_views in the file parsers #5301 from greglandrum)
(github pull Add a global feature flag to enable the "new" stereo perception code #5309 from greglandrum)
(github pull Support conjugated terminal groups in GetBestRMS() #5322 from greglandrum)
(github pull Open sources Schrodinger's implementation of "molhash" #5360 from d-b-w)
(github pull Drop usage of CIP information from the canonicalization code #5385 from greglandrum)
(github issue GetSSSR should have same return type as GetSymmSSSR #5395 from chmnk)
(github pull Add prop related method into JSMol #5414 from hhk7734)
(github pull Add draw option to force use of wedge information in MolBlock if pres… #5417 from DavidACosgrove)
(github pull Add ACS1996 drawing style #5425 from DavidACosgrove)
(github issue Treat unspecified stereo as unknown #5436 from DavidACosgrove)
(github pull New version of AssignStereochemistry #5442 from greglandrum)
(github pull MolZip: add atom property labels for mol-zipping #5446 from bp-kelley)
(github issue Add atom property (int/unsigned int) to indicate which atoms to MolZip #5451 from bp-kelley)
(github pull Improved bond highlights #5484 from DavidACosgrove)
(github pull Include element name in atomic data #5524 from rachelnwalker)
(github pull Add Substance Groups and Stereo Groups to debugMol() #5526 from ricrogz)
(github pull make it easy to create DAT SGroups from Python #5544 from greglandrum)
(github pull Integrating xyz2mol Into The RDKit Core (GSoC 2022) #5557 from gosreya)
(github pull Switch yaehmop wrapper to basic cmake #5558 from greglandrum)
(github pull fix warnings ahead of 2022.09 release #5561 from ricrogz)
(github pull add mergeIsotopes option to mergeQueryHs #5563 from jones-gareth)
(github pull Add CXSMILES support for bond wedging and wiggly bonds #5575 from greglandrum)
(github pull Add GetBestTFDBetweenMolecules() #5577 from greglandrum)
(github pull Add ColorPalette_Vect to SWIG bindings #5580 from jones-gareth)
(github pull small changes to get the RDKit to build with C++20 #5581 from greglandrum)
(github pull Improvements to 2D depiction and alignment/RMSD calculation #5598 from ptosco)
(github pull Expose additional functionality to SWIG wrappers #5614 from ptosco)
(github pull Add an RGroupDecomp aware molzip to the FreeWilson Contribution #5615 from bp-kelley)
(github pull PandasTools and InteractiveRenderer improvements #5628 from ptosco)
(github pull Add updateMolDrawOptionsFromJSON() #5630 from ptosco)
Code removed in this release:
RDLog::BlockLogs
has been removed. Please use the classRDLog::LogStateSetter
. The Python class rdBase.BlockLogs() is still available and supported.rdkit.Chem.WrapLogs()
has been removed. Please userdkit.rdBase.LogToPythonStderr()
.rdkit.rdBase.WrapLogs()
also exists, butunless you need the old teeing behavior, prefer the former.
rdkit.Chem.LogWarningMsg()
has been removed. Please userdkit.rdBase.LogWarningMsg()
.rdkit.Chem.LogErrorMsg()
has been removed. Please userdkit.rdBase.LogErrorMsg()
.Deprecated code (to be removed in a future release):
SmilesParserParams
optionuseLegacyStereo
is deprecated and will beremoved in the 2023.03 release. Please use
SetUseLegacyStereoPerception()
instead. In the meantime the SMILES parser will use only use the value of
SmilesParserParams.useLegacyStereo
if it is set tofalse
, otherwise thevalue of the global
useLegacyStereoPerception
parameter will control thebehavior of the SMILES parser.
which used to take several individual parameters now take a single JSON string parameter.
The overloads taking several individual parameters are now deprecated and will be
removed in a future release.
PrintAsBase64PNGString
function inPandasTools
is deprecated and replacedby
PrintAsImageString
, which has a more appropriate name given it actually supportsboth PNG and SVG images.
This discussion was created from the release 2022_09_1b1 (Q3 2022) Release.
Beta Was this translation helpful? Give feedback.
All reactions