Files
rdkit/Code/GraphMol/MolStandardize/CMakeLists.txt
Greg Landrum 86141183c1 Moving towards getting all tests to pass when using the new stereo code (#8409)
* Fixes #8379

* check in some working tests

* test passes

* test passes

* test passes

* test passes

* test passes

* ensure that the invariants flush the streams on failure

* tests pass

* test passes

* tests pass

* tests pass

* tests pass

* tests pass

* tests pass

* tests pass

* tests pass

* tests pass

* tests pass

* tests pass

* tests pass

* tests pass

* tests pass

* tests pass

* Fixes #8391

* tests pass

* fix a test with legacy
not clear why this was not causing problems before

* make a test work

* Fixes #8396

* gcc builds work

* fingerprint tests pass

* mention backwards incompatible change

* fix a problem with FindMolChiralCenters

* more testing details

* enable the test status output

* Fixes #8432

fix a bug in double-bond stereo handling for template matching

* all depictor tests pass

* use the new-stereo chiral ranks in the depiction code

* always assign new-stereo chiral ranks

* make _ChiralAtomRank a computed property
This is analogous to _CIPRank

* tweak to the way the atom ordering is computed for 2D coordinate generation

* update two expected results

* backup

* response to review

* tests pass

* tests pass

---------

Co-authored-by: = <=>
2025-04-15 14:00:32 +02:00

75 lines
2.6 KiB
CMake

rdkit_library(MolStandardize
Pipeline.cpp
MolStandardize.cpp
Metal.cpp
Normalize.cpp
Validate.cpp
Charge.cpp
Tautomer.cpp
Fragment.cpp
FragmentCatalog/FragmentCatalogEntry.cpp
FragmentCatalog/FragmentCatalogParams.cpp
FragmentCatalog/FragmentCatalogUtils.cpp
AcidBaseCatalog/AcidBaseCatalogEntry.cpp
AcidBaseCatalog/AcidBaseCatalogParams.cpp
AcidBaseCatalog/AcidBaseCatalogUtils.cpp
TransformCatalog/TransformCatalogEntry.cpp
TransformCatalog/TransformCatalogParams.cpp
TransformCatalog/TransformCatalogUtils.cpp
TautomerCatalog/TautomerCatalogEntry.cpp
TautomerCatalog/TautomerCatalogParams.cpp
TautomerCatalog/TautomerCatalogUtils.cpp
LINK_LIBRARIES ChemReactions ChemTransforms SmilesParse SubstructMatch GraphMol )
target_compile_definitions(MolStandardize PRIVATE RDKIT_MOLSTANDARDIZE_BUILD)
rdkit_headers(
Pipeline.h
MolStandardize.h
Metal.h
Normalize.h
Validate.h
Charge.h
Tautomer.h
Fragment.h
DEST GraphMol/MolStandardize)
rdkit_headers(
FragmentCatalog/FragmentCatalogEntry.h
FragmentCatalog/FragmentCatalogParams.h
FragmentCatalog/FragmentCatalogUtils.h
DEST GraphMol/MolStandardize/FragmentCatalog)
rdkit_headers(
AcidBaseCatalog/AcidBaseCatalogEntry.h
AcidBaseCatalog/AcidBaseCatalogParams.h
AcidBaseCatalog/AcidBaseCatalogUtils.h
DEST GraphMol/MolStandardize/AcidBaseCatalog)
rdkit_headers(
TransformCatalog/TransformCatalogEntry.h
TransformCatalog/TransformCatalogParams.h
TransformCatalog/TransformCatalogUtils.h
DEST GraphMol/MolStandardize/TransformCatalog)
rdkit_headers(
TautomerCatalog/TautomerCatalogEntry.h
TautomerCatalog/TautomerCatalogParams.h
TautomerCatalog/TautomerCatalogUtils.h
DEST GraphMol/MolStandardize/TautomerCatalog)
if(RDK_BUILD_PYTHON_WRAPPERS)
add_subdirectory(Wrap)
endif()
rdkit_test(molStandardizeTest test1.cpp LINK_LIBRARIES MolStandardize )
rdkit_test(molNormalizeTest testNormalize.cpp LINK_LIBRARIES MolStandardize )
rdkit_test(molValidateTest testValidate.cpp LINK_LIBRARIES MolStandardize )
rdkit_test(molChargeTest testCharge.cpp LINK_LIBRARIES MolStandardize )
rdkit_test(molTautomerTest testTautomer.cpp LINK_LIBRARIES CIPLabeler MolStandardize )
rdkit_test(molStandardizeSmallTest test2.cpp LINK_LIBRARIES MolStandardize )
rdkit_test(molFragmentTest testFragment.cpp LINK_LIBRARIES MolStandardize )
rdkit_catch_test(molStandardizeCatchTest catch_tests.cpp LINK_LIBRARIES MolStandardize )
rdkit_catch_test(molStandardizePipelineTest testPipeline.cpp LINK_LIBRARIES MolStandardize)