* patch RapidJSON to make sure it builds on all platforms
* remove unnecessary sed command from Docker recipe
---------
Co-authored-by: ptosco <paolo.tosco@novartis.com>
* Fix an out of bounds access when replacing fragments
* Add segfaulting US patent CDXs
* Return false when we can't find the bond idx for better handling
* Remove useless REQUIRE
* Only sniff when in format AUTO
* Add test for reading wrong format
---------
Co-authored-by: Brian Kelley <bkelley@glysade.com>
* support providing custom features
* expose that to python
* switch to tuples (on get) and objects (on set) for attributes
* allow aligning mols directly with ShapeInputOptions
* changes for review
* add warning
isascii() (which is the standard) or __isascii(), but it guesses wrong for
Emscripten builds (which I do during sketcher compilation). This change
passes -D__isascii=isascii when building InChi,
which means that the wrong guess will still wind up with the right
function name.
* Fist pass at CDX support
* Enable CDX support for reading (also) in the CDXMLParser API
* Add cdxml test files
* Update swig wrappers for CDXMLFormat and Parameters
* Add constructor to ChemDrawParserParams
* Add Java SWIG support for ChemDraw
* Add chemdraw define to rdconfig
* Add missing chemdraw deps
* Remove direct expat link
* Fix Java linkages for ChemDraw
* Remove bad merge code
* Remove bad merge code
* Fix csharp builds
* Add sniffer for the ChemDraw DataStream
* Include filesystem
* Fix test on windows
* Add more CDX tests
* Ensure streams are open in binary mode to support CDX on windows
* Fix text to show that a Block is the text input, not a file
* Fix CSharp test
* Disable CDX tests when not building chemdraw
* Turn back on chemdraw
* Response to review
* Turn off chemdraw support for the limited external test
---------
Co-authored-by: Brian Kelley <bkelley@glysade.com>
* Fixes a bug with bad H positions in output conformer
This would only trigger when the number of H atoms is equal
to the number of features, but it was terrible when it happened.
* spell that better
* docs
---------
Co-authored-by: = <=>
* ChemDraw Document and read/write support for the RDKit
* Add missing test file
* Rev chemdraw version
* Rev chemdraw version
* Rev chemdraw version for g++11
* Update CMakeLists.txt
Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
* Build chemdraw from an external CMake file
* Remove unused platform bigendian check
* Revert changes to constants, remove unused ones
* Keep the original constant names
* Remove __main__ section
* Use as much of the ChemDraw CMakeList as possible
* Skip installing expat
* Rev chemdraw version to fix windows issue
* Don't install expat, set the appropriate CHEMDRAW_BUILD definition
* resolve windows builds
* Fix minimal lib builds
* Move ChemDraw document to private header
* Move utility functions to ChemDraw namespace
* Move ChemDraw to v2 unique ptr api namespace
* Make class enum
* Switch to camelCase
* Response to review
* Move ChemDrawToDocument to ChemDraw namespace
* Update External/ChemDraw/Wrap/rdChemDraw.cpp
Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
* Fix typo
* Update External/ChemDraw/Wrap/rdChemDraw.cpp
Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
* Add better documentation
* Rev chemdraw version
---------
Co-authored-by: Brian Kelley <bkelley@glysade.com>
Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
* ChemDraw Document and read/write support for the RDKit
* Add missing test file
* Rev chemdraw version
* Rev chemdraw version
* Rev chemdraw version for g++11
* Update CMakeLists.txt
Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
* Build chemdraw from an external CMake file
* Remove unused platform bigendian check
* Revert changes to constants, remove unused ones
* Keep the original constant names
* Remove __main__ section
* Use as much of the ChemDraw CMakeList as possible
* Skip installing expat
* Rev chemdraw version to fix windows issue
* Don't install expat, set the appropriate CHEMDRAW_BUILD definition
* resolve windows builds
* Fix minimal lib builds
* Move ChemDraw document to private header
* Move utility functions to ChemDraw namespace
* Move ChemDraw to v2 unique ptr api namespace
* Make class enum
* Switch to camelCase
* Response to review
* Move ChemDrawToDocument to ChemDraw namespace
* Update External/ChemDraw/Wrap/rdChemDraw.cpp
Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
* Fix typo
* Update External/ChemDraw/Wrap/rdChemDraw.cpp
Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
* Add better documentation
---------
Co-authored-by: Brian Kelley <bkelley@glysade.com>
Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
* - avoid a large number of warnings when building MinimalLib with emscripten, which does not support SHARED
- fix indentation in CoordGen CMakeLists.txt
* disable RDK_USE_BOOST_STACKTRACE on emscripten platform
* revert change done by mistake
---------
Co-authored-by: ptosco <paolo.tosco@novartis.com>
* Make shape on subset of atoms in molecule.
Optional radius for dummy atoms.
* Re-factor.
Add ShapeInputOptions.
* Python wrapper for options.
* Add non-standard radii option.
Add function to align a shape on a shape.
Add function to align conformer based on shape-shape transformation.
* Python wrappers for AlignShapes and TransformConformer.
* Add the new thing for Python options.
* Add option for excluding atoms from color features.
No partial color features if using atomSubset.
* In AlignShapes, don't change the fit shape (apart from transforming it) in case it will be used again.
* Rename it AlignShape to be consistent with AlignMolecule.
* Response to review.
* Undo clang-format
* Fix botched merge.
* Typo.
---------
Co-authored-by: David Cosgrove <david@cozchemix.co.uk>
* c++20 builds working
* get MolStandardize building with clang19
* get FMCS building with clang-19
* set cxx version to c++20
* remove a few more compiler warnings
* bump min boost version, CI cleanup
* boost 1.81 is not available from conda-forge
* remove unused constants
* bump linux version for CI
* remove another unused variable
* fix (hopefully) cartridge CI builds
* simplify cartridge environment
* try postgresql14 in CI
* start the postgresql service
* change the columns used in the pandastools nbtest
* remove missed merge conflict artifact
* get github4823 test to pass with numpy 2.2
* remove a compiler warning/error with g++13
* avoid a segfault in CoordGen when a double bond has stereo spec but no stereo atoms
* changes in response to review
---------
Co-authored-by: ptosco <paolo.tosco@novartis.com>
* refactor the code to determine whether or not an atom is in brackets
* move the definition of isMetal to QueryOps
* atoms bound to metals in SMILES should always be in square brackets
Implementation and some test updates
needs confirmation that all of tests run
* basic tests pass
* java tests pass
* update js tests
* doc updates
* Update Code/GraphMol/catch_graphmol.cpp
Co-authored-by: Ricardo Rodriguez <ricrogz@users.noreply.github.com>
* Update Code/GraphMol/SmilesParse/test.cpp
Co-authored-by: Ricardo Rodriguez <ricrogz@users.noreply.github.com>
* finish fixing tests
* bump yaehmop version to allow compilation to work
---------
Co-authored-by: Ricardo Rodriguez <ricrogz@users.noreply.github.com>
* - Make sure that FreeSASA can be built as DLL on Windows (MSVC & MinGW
compilers)
- avoid an unnecessary code patch by using only a .def file for
exporting symbols
* get the Windows DLL build to work with either MSVC or MinGW compilers
* FindPython Development.Module instead of Development
`Development` grabs `Development.Embed` since CMake 3.18
which is too much, and doesn't work on a manylinux build context
* Set CMake minimum version to 3.18