Commit Graph

5454 Commits

Author SHA1 Message Date
tadhurst-cdd
2dbf83898d trimethylcyclohexane chirality error (#8272)
* Fix for trimethylcyclohexane error

* removed unused variable

* removed debugging code
2025-02-24 17:41:54 +01:00
Greg Landrum
cfffa8db4d try adding a CI job to build the minimallib docker image (#8290)
* try adding a CI job to build the minimallib docker image

* update

* try simplification

* path

* path

* re-enable the other ci builds
remove the obsolete .yml file
2025-02-21 09:44:31 +01:00
Andrey Alekseenko
b90b937c9f Fix buffer size in pickersCLI.cpp (#8282)
Was a bit too diabolical.

`fgets` reads size-1 bytes and writes `\0` after it, so we should be fine with `sizeof(buffer)` here, which also more resilient to future errors than any duplicated value.
2025-02-21 06:04:15 +01:00
Niels Maeder
718b0b9000 Expose basinThresh to the python layer (#8283)
* expose basinThresh to the python layer

* docs: add the line about client code

* docs: remove warning
2025-02-20 10:12:17 +01:00
Brian Kelley
2a57debe75 Throw error when V2000 coords are out of range (#8269)
* Throw error when V2000 coords are out of range

* Update Code/GraphMol/FileParsers/MolFileWriter.cpp

Co-authored-by: Greg Landrum <greg.landrum@gmail.com>

* Response to review.  Fixes Max/Min, force v3000 when out of bounds

---------

Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
2025-02-20 07:50:40 +01:00
Ricardo Rodriguez
1a67fefcc6 mem fixes (#8276) 2025-02-20 05:59:30 +01:00
David Cosgrove
ed4a44280a Tweak mol fragmenter (#8277)
* Test on at least enough dummyLabels.

* Use std::uint rather than boost::uint.

* Modern bond traversal.

---------

Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
2025-02-20 05:56:01 +01:00
Riccardo Vianello
560d5ad604 export the targets with a python dependency to a different config file (#7914)
* export the targets with a python dependency to a different config file

* add the forgotten file

* improve the dependency from boost components

* fix management of dependencies for RDKitPython

* fix install location for RdkitPython cmake config file

* fix finding boost components

* put libraries that depend on rdkit_py_base in the python component
2025-02-19 05:53:30 +01:00
David Cosgrove
4eb1ea9985 Initial Rascal results sort the wrong way round on number of atoms and bonds. (#8258)
* Initial results sort the wrong way round on number of atoms and bonds.

* Improve sort for singleLargestFrag.

* Response to review - don't sort the fragment sets twice when opts.singleLargestFrag is true.

---------

Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
2025-02-15 15:34:16 +01:00
Greg Landrum
7311390005 MolDraw2D: add separate colors for atom and bond annotations (#8249) 2025-02-15 08:28:00 +01:00
David Cosgrove
b0083ccfda Rascal left some high atomic numbers in the output SMARTS (#8247)
* Fixes bug in output SMARTS when ringMatchesRingOnly causes an extra &R.

* Punctuation.

* Run clang-format.

* Don't use recursive SMARTS.

---------

Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
2025-02-14 16:15:11 +01:00
Paolo Tosco
932208d46a revert default to JavaScript-based exceptions (#8270)
Co-authored-by: ptosco <paolo.tosco@novartis.com>
2025-02-14 13:16:05 +01:00
David Cosgrove
343b0698ca Rascal: Add option to specify minimum clique size directly. (#8248)
* Add option to specify minimum clique size directly.

* Make the minCliqueSize uint and default to 0.

* Brain-fade.

* Send timeout and 'too many bonds' message to BOOST_LOG rather than std::cout, std::cerr respectively.

---------

Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
2025-02-13 17:05:23 +01:00
Greg Landrum
1891a26fe3 Fixes Github #7901 (#8264)
* does not work

* basically works
(at least it seems to)
needs more tesing and verification

* optimization and improved tests

passes local tests

* response to review
2025-02-13 12:46:56 +01:00
Paolo Tosco
cdeeb2c270 Restore functionality of the MinimalLib Dockerfile
- fetch boost sources from archives.boost.io
- build in /src rather than in /opt
- build freetype from source with -fwasm-exceptions support as the emscripten port on GitHub is outdated and archived
- build RDKit with -fwasm-exceptions support as performance is significantly better than with DISABLE_EXCEPTION_CATCHING=0

Co-authored-by: ptosco <paolo.tosco@novartis.com>
2025-02-13 08:34:06 +01:00
Ricardo Rodriguez
5596179c95 Fixes #8256 (#8257)
* add test

* fix
2025-02-12 15:34:28 +01:00
Greg Landrum
c7169eb17c Fixes #8250 (#8254) 2025-02-10 10:04:26 -05:00
Brian Kelley
a7deb6fb8d Implements #8222 adds react_idx (index of reactant) to product atoms (#8231)
* Implements #8222 adds react_idx (index of reactant) to product atoms

* Remove react_idx from mol enumerator products

* Response to review, add test to ensure product only atoms aren't tagged

* Reenable tests
2025-02-06 17:07:55 +01:00
David Cosgrove
249ff92e96 Option to put padding round elements of reaction. (#8216)
* Option to put padding round elements of reaction.

* Rename the option to componentPadding.

* Missed one.

* Correct filename.

---------

Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
2025-01-31 05:50:03 +01:00
Greg Landrum
8691c58055 Fixes #5134 (#5136) 2025-01-30 16:10:57 +01:00
David Cosgrove
c36276a7c0 Optimisation of fingerprint Synthon Search (#8223)
* Change how synthonsToUse is stored in SynthonSpaceHitSet.

* Sort fragments by descending similarity.

* Sort fragments by ascending size.

* Use pair not tuple.

* Un-cringe Greg.

---------

Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
2025-01-30 04:59:19 +01:00
EvaSnow
4f4effc2ba DistViolationContribs optimization (#8208)
* DistViolationContribs optimization.

* Update preFactor calculation to avoid numerical instability: use square of distance instead of squared distance directly, to prevent accumulated errors leading to CI test failures on Mac when d2 > c.ub2.

* Optimize distance calculations by moving sqrt under condition branches to avoid unnecessary computations when squared distance bounds are not met.
2025-01-30 04:58:53 +01:00
David Cosgrove
1fba446e89 Rascal bond label error (#8199)
* Fix atom ordering in bond label.

* Response to review.

---------

Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
2025-01-29 15:55:43 +01:00
Kevin Boyd
af6347963f Condense MMFF Contribs into single contrib per type. (#8175)
* Condense MMFF electrostatics and contrib instances.

Previously, a separate contrib had been added for each common term.
Each of these required a separate allocation, and a separate dynamic dispatch
on call. This change moves to an SOA style, making data access contiguous and
drastically reducing the number of calls.

* Make suggested copyright fixes and svn artifact removals
2025-01-29 06:18:09 +01:00
Greg Landrum
fa048eacc5 Replace GetImplicitValence() and GetExplicitValence() with GetValence() (#7926) 2025-01-28 21:09:03 +01:00
Niels Maeder
30b94efc50 Fix typo in documentation (#8220)
* fix typo in documentation

* Fix typo in documentation

Co-authored-by: Greg Landrum <greg.landrum@gmail.com>

---------

Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
2025-01-28 14:28:52 +01:00
David Cosgrove
0f3f7c39f8 Fix reaction panel bug. (#8217)
Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
2025-01-28 14:06:59 +01:00
David Cosgrove
c23977aac3 Trim results after singleLargestFrag = true applied. (#8202)
* Trim results after singleLargestFrag = true applied.

* Fix sort.

---------

Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
2025-01-28 14:04:16 +01:00
thomp-j
4efc9a362b Vulnerability fixes (#8116)
* Vulnerability fixes

* Vulnerability fixes

* Move Iterator bounds check to a PRECONDITION for parse_data_sgroup_attr.

* Update MolFileParser.cpp

Remove ill-advised ASCII filter when parsing SDF V3000

* Update MolFileParser.cpp

Remove extra whitespace.

* Squashed commit of the following:

commit 1a1279c137afeca77d4fd68b287a7e36c6bf5c37
Merge: 7d0765c8b 3d2a43470
Author: James Thompson <thompj@google.com>
Date:   Wed Dec 18 14:22:29 2024 +0000

    Merge branch 'vuln_fix' of https://github.com/thomp-j/rdkit_vuln into vuln_fix

commit 7d0765c8ba2e0be54649613fce2f61545ad5d9d2
Author: James Thompson <thompj@google.com>
Date:   Wed Dec 18 14:20:54 2024 +0000

    Squashed commit of the following:

    commit 5a5902a874109d42cc4a20de535bdca0855c429b
    Merge: ec0ff4ee2 3d2a43470
    Author: James Thompson <thompj@google.com>
    Date:   Wed Dec 18 14:18:02 2024 +0000

        Remove whitespace

    commit 3d2a43470f
    Author: thomp-j <58603847+thomp-j@users.noreply.github.com>
    Date:   Wed Dec 18 09:08:57 2024 -0500

        Update MolFileParser.cpp

        Remove extra whitespace.

    commit a8a718923c
    Author: thomp-j <58603847+thomp-j@users.noreply.github.com>
    Date:   Wed Dec 18 09:08:09 2024 -0500

        Update MolFileParser.cpp

        Remove ill-advised ASCII filter when parsing SDF V3000

    commit 270136d6c0
    Author: thomp-j <58603847+thomp-j@users.noreply.github.com>
    Date:   Wed Dec 18 09:07:05 2024 -0500

        Move Iterator bounds check to a PRECONDITION for parse_data_sgroup_attr.

    commit ec0ff4ee29e9cca5bbd9591d30f8a96646484ec5
    Merge: ca4ed2faa 2d257b119
    Author: James Thompson <thompj@google.com>
    Date:   Wed Dec 18 14:04:30 2024 +0000

        Merge branch 'vuln_fix' of https://github.com/thomp-j/rdkit_vuln into vuln_fix

    commit ca4ed2faa4219abfd97628d529be3a1fd97048bf
    Merge: c11caffbd 63123278c
    Author: James Thompson <thompj@google.com>
    Date:   Wed Dec 18 13:59:48 2024 +0000

        Merge branch 'vuln_fix' of https://github.com/thomp-j/rdkit_vuln into vuln_fix

    commit 2d257b1194
    Merge: d45612334 74fc77f95
    Author: thomp-j <58603847+thomp-j@users.noreply.github.com>
    Date:   Wed Dec 18 09:03:06 2024 -0500

        Merge branch 'rdkit:master' into vuln_fix

    commit d456123344
    Merge: c11caffbd 63123278c
    Author: James Thompson <thompj@google.com>
    Date:   Wed Dec 18 13:59:48 2024 +0000

        Merge branch 'vuln_fix' of https://github.com/thomp-j/rdkit_vuln into vuln_fix

    commit c11caffbd7
    Author: James Thompson <thompj@google.com>
    Date:   Tue Dec 17 15:26:41 2024 +0000

        Vulnerability fixes

    commit 74fc77f959
    Author: Paolo Tosco <paolo.tosco.mail@gmail.com>
    Date:   Wed Dec 18 13:40:57 2024 +0100

        normalizeDepiction() should always center coordinates on the coordinate centroid, irrespective of the canonicalize parameter (#8107)

        * normalizeDepiction() should always center coordinates on the coordinate centroid, irrespective of the canonicalize parameter

        * Update Code/GraphMol/Depictor/catch_tests.cpp

        Co-authored-by: Greg Landrum <greg.landrum@gmail.com>

        * fix catch test

        ---------

        Co-authored-by: ptosco <paolo.tosco@novartis.com>
        Co-authored-by: Greg Landrum <greg.landrum@gmail.com>

    commit e589f173fd
    Author: David Cosgrove <davidacosgroveaz@gmail.com>
    Date:   Wed Dec 18 04:14:11 2024 +0000

        Use endian-aware read/write for length of string. (#8105)

        * Use endian-aware read/write for length of string.

        * Re-run clang-format.

        ---------

        Co-authored-by: David Cosgrove <david@cozchemix.co.uk>

    commit ce35b3c25b
    Author: David Cosgrove <davidacosgroveaz@gmail.com>
    Date:   Wed Dec 18 04:12:07 2024 +0000

        SynthonSearch synth check (#8109)

        * Catch errors when creating products.

        * Extra python test.

        * Fix formatting.

        ---------

        Co-authored-by: David Cosgrove <david@cozchemix.co.uk>

    commit 63123278ca
    Author: James Thompson <thompj@google.com>
    Date:   Tue Dec 17 15:26:41 2024 +0000

        Vulnerability fixes

    commit e640915d4e
    Author: Nikitas Rontsis <nrontsis@gmail.com>
    Date:   Tue Dec 17 15:11:40 2024 +0000

        Avoid unnecessary matching (#8111)

    commit 5aed3d886b
    Author: Greg Landrum <greg.landrum@gmail.com>
    Date:   Mon Dec 16 16:59:13 2024 +0100

        Fixes #8096 (#8104)

        * add test

        * Fixes #8096

        * change in response to review

    commit 6dce5d4080
    Author: Greg Landrum <greg.landrum@gmail.com>
    Date:   Sun Dec 15 05:58:20 2024 +0100

        Fixes #1670 (#8093)

        * add missing descriptors to Lipinski.py
        Fixes #1670

        * add to descriptor list

commit 3d2a43470f
Author: thomp-j <58603847+thomp-j@users.noreply.github.com>
Date:   Wed Dec 18 09:08:57 2024 -0500

    Update MolFileParser.cpp

    Remove extra whitespace.

commit a8a718923c
Author: thomp-j <58603847+thomp-j@users.noreply.github.com>
Date:   Wed Dec 18 09:08:09 2024 -0500

    Update MolFileParser.cpp

    Remove ill-advised ASCII filter when parsing SDF V3000

commit 270136d6c0
Author: thomp-j <58603847+thomp-j@users.noreply.github.com>
Date:   Wed Dec 18 09:07:05 2024 -0500

    Move Iterator bounds check to a PRECONDITION for parse_data_sgroup_attr.

commit 2d257b1194
Merge: d45612334 74fc77f95
Author: thomp-j <58603847+thomp-j@users.noreply.github.com>
Date:   Wed Dec 18 09:03:06 2024 -0500

    Merge branch 'rdkit:master' into vuln_fix

commit d456123344
Merge: c11caffbd 63123278c
Author: James Thompson <thompj@google.com>
Date:   Wed Dec 18 13:59:48 2024 +0000

    Merge branch 'vuln_fix' of https://github.com/thomp-j/rdkit_vuln into vuln_fix

commit c11caffbd7
Author: James Thompson <thompj@google.com>
Date:   Tue Dec 17 15:26:41 2024 +0000

    Vulnerability fixes

commit 74fc77f959
Author: Paolo Tosco <paolo.tosco.mail@gmail.com>
Date:   Wed Dec 18 13:40:57 2024 +0100

    normalizeDepiction() should always center coordinates on the coordinate centroid, irrespective of the canonicalize parameter (#8107)

    * normalizeDepiction() should always center coordinates on the coordinate centroid, irrespective of the canonicalize parameter

    * Update Code/GraphMol/Depictor/catch_tests.cpp

    Co-authored-by: Greg Landrum <greg.landrum@gmail.com>

    * fix catch test

    ---------

    Co-authored-by: ptosco <paolo.tosco@novartis.com>
    Co-authored-by: Greg Landrum <greg.landrum@gmail.com>

commit e589f173fd
Author: David Cosgrove <davidacosgroveaz@gmail.com>
Date:   Wed Dec 18 04:14:11 2024 +0000

    Use endian-aware read/write for length of string. (#8105)

    * Use endian-aware read/write for length of string.

    * Re-run clang-format.

    ---------

    Co-authored-by: David Cosgrove <david@cozchemix.co.uk>

commit ce35b3c25b
Author: David Cosgrove <davidacosgroveaz@gmail.com>
Date:   Wed Dec 18 04:12:07 2024 +0000

    SynthonSearch synth check (#8109)

    * Catch errors when creating products.

    * Extra python test.

    * Fix formatting.

    ---------

    Co-authored-by: David Cosgrove <david@cozchemix.co.uk>

commit 63123278ca
Author: James Thompson <thompj@google.com>
Date:   Tue Dec 17 15:26:41 2024 +0000

    Vulnerability fixes

commit e640915d4e
Author: Nikitas Rontsis <nrontsis@gmail.com>
Date:   Tue Dec 17 15:11:40 2024 +0000

    Avoid unnecessary matching (#8111)

commit 5aed3d886b
Author: Greg Landrum <greg.landrum@gmail.com>
Date:   Mon Dec 16 16:59:13 2024 +0100

    Fixes #8096 (#8104)

    * add test

    * Fixes #8096

    * change in response to review

commit 6dce5d4080
Author: Greg Landrum <greg.landrum@gmail.com>
Date:   Sun Dec 15 05:58:20 2024 +0100

    Fixes #1670 (#8093)

    * add missing descriptors to Lipinski.py
    Fixes #1670

    * add to descriptor list

commit a4cdf5d21d
Author: Greg Landrum <greg.landrum@gmail.com>
Date:   Sun Dec 15 05:58:03 2024 +0100

    Fixes #8092 (#8094)

    * Fixes #8092
    cross-platform file stuff is just soooooo fun

    * response to review

    * works on windows

commit b7de0585ca
Author: Greg Landrum <greg.landrum@gmail.com>
Date:   Sat Dec 14 18:21:55 2024 +0100

    Add drawMols3D() and improve documentation for IPythonConsole (#8083)

    * Fixes #8082
    more docs

    * changes in response to review

commit 736e309f10
Author: David Cosgrove <davidacosgroveaz@gmail.com>
Date:   Sat Dec 14 17:21:29 2024 +0000

    Fix empty results bug. (#8099)

    Co-authored-by: David Cosgrove <david@cozchemix.co.uk>

commit c90cee9b77
Author: Greg Landrum <greg.landrum@gmail.com>
Date:   Sat Dec 14 17:08:43 2024 +0100

    Add Molecular Interaction Fields (#7993)

    * Add RealValueVect.

    * Add UniformRealValueGrid3D

    * Add Molecular Interaction Fields (MIFs)

    * line endings

    * cherry-pick f1bc94a4c8

    * format

    * Adapt tests for python3.

    * Adapt RealValueVector pickling for python3.

    * Speed-up of MIF calculations.

    * Bugfix in MIFDescriptors.cpp.

    * all tests pass

    * clean up some memory leaks

    * update copyrights

    * rename

    * rename the library

    * complete the rename

    * lost file

    * another forgotten file

    * cleanup

    * clang-tidy

    * clang-tidy

    * windows DLL builds work

    * python wrapper and tests cleanup

    * convert to catch2 testing

    * switch RealValueVect to use std::vector

    * remove obsolete friend

    * - Replace explicit loops with stdlib implicit equivalents
    - Replace explicit types with auto where possible
    - Avoid unnecessary copy operations where possible
    - Replace raw pointers with exception-safe unique_ptr
    - Replace C-style #define with constexpr
    - Replace C-style casts with C++ casts
    - Replace C-style arrays with std::vector
    - Avoid code duplication with templated operators
    - Replace VdWaals class taking multiple atom type definitions and force-field name as string parameter with force-field-specific classes deriving from an abstract VdWaals class
    - Replace x,y,z doubles with Point3D class where possible
    - Removed unused (and untested) DistanceToClosestAtom class
    - Renamed some variables and functions for better clarity
    - Converted tabs to spaces
    - Made the mol parameter in cube read/write functions optional for convenience
    - Made the Python wrappers more pythonic (e.g., avoid C++-style passing objects as parameters which are modified in place)
    - Implemented alternative Python class constructors using boost::python::make_constructor rather than with external non-class functions
    - The Python wrappers taking a sequence of Point3D now take a sequence of sequences, such that the output of Conformer.GetPositions() can be passed
    - Made the Python wrapper sequence parsing more robust
    - Removed duplicated code from Python wrappers

    * - avoid an unnecessary copy

    * progress

    * works

    * more cleanup

    * all tests pass

    * changes in response to review

    ---------

    Co-authored-by: dfhahn <dfhahn@users.noreply.github.com>
    Co-authored-by: ptosco <paolo.tosco@novartis.com>

* Adds error message to parse_data_sgroup_attr PRECONDITION
2025-01-27 17:10:20 +01:00
David Cosgrove
79ec783cab Add option to omit brackets when drawing query atoms. (#8212)
* Fix bond smoothing - apply atom index offset to products.
Update Hash codes.
Tweak side_by_side_images.py.

* Added hash code for new file.  Doh!

* Option to remove brackets from atom lists.

* Python wrapper.

* Change option name after review.

---------

Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
2025-01-27 16:59:29 +01:00
David Cosgrove
451e57f0ff Fix bond join smoothing in images of reaction products (#8210)
* Fix bond smoothing - apply atom index offset to products.
Update Hash codes.
Tweak side_by_side_images.py.

* Added hash code for new file.  Doh!

---------

Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
2025-01-27 12:44:50 +01:00
Greg Landrum
2fe7573807 support Ctrl-C in conformer generation (#8197) 2025-01-26 16:03:13 -05:00
Hussein Faara
44364fd982 remove no-op macros and dead code (pt 4) (#8037)
* remove no-op macros and dead code (pt 4)

* review comments
2025-01-26 07:49:50 +01:00
David Cosgrove
78b11c8c12 Reaction rendered badly with small canvas size (#8211)
* Remove forcing minFontSize to 12 for reactions.

* Add hash code test.
Run Clang-format.

* Typo

---------

Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
2025-01-26 07:35:50 +01:00
Greg Landrum
68672864c6 improve handling of esters, amides, etc. in the v2 tautomer hash (#8173)
* improve handling of esters, amides, etc. in the v2 tautomer hash

Fixes #8090

* cleanup

* extend that logic to aromatic systems

* documentation in response to review
2025-01-24 16:11:38 +01:00
Brian Kelley
9dc5470d89 Simple fix to allow aromatic CIS/TRANS SMARTS to match molecules (#8192) 2025-01-23 19:49:25 +01:00
David Cosgrove
4f224cee64 Move creation of 2D coords to before markUnspecifiedStereoAsUnknown. (#8179)
Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
2025-01-23 06:03:20 +01:00
David Cosgrove
59b4152974 Making SynthonSearch respond to Ctrl-C (#8153) 2025-01-22 11:43:51 +01:00
David Cosgrove
c2944e7050 Optimisations to fingerprint search of Synthon Space (#8152)
* First pass at approximate FP check.

* Tidy and Python wrapper.

* More tidying.

* Add addFP and subtractFP to binary file.

* Minor tidy.

* In splits code, check for duplicate fragmentations.

* Update test results.

* Tidy.

* Set configurable limit on number of fragments generated from query.

* Stash prior to trying counts fps.

* Stash count fps.

* Back to bit fingerprints again.

* Extra comment.

---------

Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
2025-01-22 05:44:56 +01:00
Greg Landrum
e7dd7b8a8a some optimizations of triangle smoothing (#8190) 2025-01-21 14:33:35 -05:00
Greg Landrum
4358693afa bump the inchi version to 1.07.2 (#8176)
* bump the inchi version
move to using the github distributions

* update cartridge behavior

* further fix

* typos!
2025-01-17 13:33:26 -05:00
Nic Zonta
196dde4b04 fix problems with template matching (#7975)
* fix compilation error

* wip

* undo change to CMakeLists

* add test

---------

Co-authored-by: greg landrum <greg.landrum@gmail.com>
2025-01-17 06:42:28 +01:00
Greg Landrum
162fb9a7ec some cmake cleanups (#8171)
* Fixes #8139

* Fixes #8138
2025-01-15 16:19:48 +01:00
Greg Landrum
3035b67067 Fixes #8162 (#8164)
* remove extraneous printing

* Fixes #8162
2025-01-14 15:58:34 +01:00
Nikitas Rontsis
f20b83bc64 Conformer embedding timeout (#8110)
* Conformer embedding timeout

* Add README for patching

* Don't raise Exception but set EmbedFailureCauses on timeout.

* Fix

* Remove wrongly added README

* Debug segfault

* Improve logging of failures

* Fix pointer reference

* Don't use optional
2025-01-13 10:08:25 +01:00
Greg Landrum
b6fe7be27b Fixes #6679 (#8163) 2025-01-12 20:02:33 +01:00
Hussein Faara
8411f4535e remove no-op macros and dead code (pt 2) (#8035)
* remove no-op macros and dead code (pt 2)

* test failures due to whitespace changes?

* actually run the testFeatures tests

---------

Co-authored-by: greg landrum <greg.landrum@gmail.com>
2025-01-11 14:10:00 +01:00
Eisuke Kawashima
41a2a79fa8 fix: apply modernize-use-nullptr (#8134)
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2025-01-09 07:56:10 +01:00
Ricardo Rodriguez
b17b81def9 fix (#8144) 2025-01-09 07:52:46 +01:00
Ricardo Rodriguez
847b0d19e0 Fix leaks in MIF wrappers (#8143)
* fix leaks in wrappers

* decref on not-sequence obj or bad seq size

* PySequence in DistGeom wrappers
2025-01-09 07:30:20 +01:00