mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
* Parsing SCSR * add scsrol to mol * removed bad include file * loosen distGeom test slightly * add wrap test for SCSRMol * Add test for scsr in python * tests added for scsr and strict parsing removed * remove extra stuff * More fully specified use of SCSRMol for PR CI build * Added flags for SCSR expansion to not include any leaving groups * Added MolFromScsrParams to Wrap for python * added SCSRMol destructor * Added two tests for RNA macromols, and fixed a bug they revealed * Added new tests abd expected files * changes as per PR review * SCSR Chnages for leaving groups * fixed testScsr.py * hydrogen bond treatment * in SCSR expand, allow Hbond to be autoatically detected * changes as per code review * Adding new test file * chages for SCSR contructors, destructors for CI build * fixed pyton for SCSR hydrogen bond modes, and added tests * Added new test files * fixed edge case for SCSR * fix checksum for inchi * consistent capitalization of SCSR throughout * switch to enum class * make things shorter * simplify * get rid of the ATTCHORD class * New section for SCSR in RDKit_book * addeed section to RDKit_Book * SCSRMol is no longer exposed in Python * fix leak in MolFromSCSRFile() light refactoring * expose MolFromSCSRFile() to python make the MolFromSCSR functions work with default args a bit more testing * removed C++ access to SCSRMol * CXMsiles now ouputs hbonds, fix to template matching, and a few other things * Addl fix for bad aromaticity in Hbond rings * Test files needed * Test files needed * try to fix a CI build errors * CI error fix * Added missing test file * CMake version - for CI build * remove full file compoarison from macromol test file * accidental change to debug restored to release * Code review changes * As per PR review --------- Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
89 lines
3.2 KiB
CMake
89 lines
3.2 KiB
CMake
remove_definitions(-DRDKIT_GRAPHMOL_BUILD)
|
|
rdkit_python_extension(rdchem
|
|
rdchem.cpp Table.cpp Atom.cpp Bond.cpp Mol.cpp
|
|
Conformer.cpp RingInfo.cpp EditableMol.cpp MonomerInfo.cpp
|
|
ResonanceMolSupplier.cpp MolBundle.cpp StereoGroup.cpp SubstanceGroup.cpp
|
|
Chirality.cpp
|
|
DEST Chem
|
|
LINK_LIBRARIES
|
|
SmilesParse ChemTransforms SubstructMatch GraphMol
|
|
MarvinParser)
|
|
|
|
rdkit_python_extension(rdmolops
|
|
rdmolops.cpp MolOps.cpp
|
|
ChiralityOps.cpp
|
|
DEST Chem
|
|
LINK_LIBRARIES
|
|
ChemReactions Depictor
|
|
FileParsers SubstructMatch Fingerprints ChemTransforms
|
|
Subgraphs SmilesParse MolTransforms GraphMol)
|
|
|
|
rdkit_python_extension(rdqueries
|
|
rdqueries.cpp Queries.cpp
|
|
DEST Chem
|
|
LINK_LIBRARIES
|
|
GraphMol)
|
|
|
|
if(RDK_BUILD_MAEPARSER_SUPPORT)
|
|
set (maesupplier MaeMolSupplier.cpp MaeWriter.cpp)
|
|
include_directories(${maeparser_INCLUDE_DIRS})
|
|
endif()
|
|
|
|
if(RDK_BUILD_COMPRESSED_SUPPLIERS)
|
|
set(compressedsupplier CompressedSDMolSupplier.cpp)
|
|
endif()
|
|
set(rdmolfiles_sources rdmolfiles.cpp
|
|
ForwardSDMolSupplier.cpp ${maesupplier}
|
|
SDMolSupplier.cpp TDTMolSupplier.cpp ${compressedsupplier}
|
|
SmilesMolSupplier.cpp SmilesWriter.cpp SDWriter.cpp
|
|
TDTWriter.cpp
|
|
PDBWriter.cpp
|
|
MultithreadedSmilesMolSupplier.cpp
|
|
MultithreadedSDMolSupplier.cpp)
|
|
|
|
rdkit_python_extension(rdmolfiles
|
|
${rdmolfiles_sources}
|
|
DEST Chem
|
|
LINK_LIBRARIES SubstructMatch
|
|
SmilesParse FileParsers GraphMol
|
|
MarvinParser
|
|
RDGeometryLib RDGeneral RDBoost)
|
|
|
|
rdkit_python_extension(rdtrajectory
|
|
Trajectory.cpp rdTrajectory.cpp
|
|
DEST Chem
|
|
LINK_LIBRARIES Trajectory RDGeometryLib RDGeneral RDBoost GraphMol)
|
|
|
|
if(RDK_BUILD_COMPRESSED_SUPPLIERS)
|
|
set_target_properties(rdmolfiles PROPERTIES DEFINE_SYMBOL SUPPORT_COMPRESSED_SUPPLIERS)
|
|
endif(RDK_BUILD_COMPRESSED_SUPPLIERS)
|
|
|
|
add_pytest(pyGraphMolWrap
|
|
${CMAKE_CURRENT_SOURCE_DIR}/rough_test.py)
|
|
|
|
add_pytest(pyTestConformerWrap
|
|
${CMAKE_CURRENT_SOURCE_DIR}/testConformer.py)
|
|
|
|
add_pytest(pyTestTrajectory
|
|
${CMAKE_CURRENT_SOURCE_DIR}/testTrajectory.py)
|
|
|
|
add_pytest(pyTestSGroups
|
|
${CMAKE_CURRENT_SOURCE_DIR}/testSGroups.py)
|
|
|
|
add_pytest(pyTestSCSR
|
|
${CMAKE_CURRENT_SOURCE_DIR}/testSCSR.py)
|
|
|
|
|
|
if (RDK_TEST_MULTITHREADED)
|
|
add_pytest(pyTestThreads
|
|
${CMAKE_CURRENT_SOURCE_DIR}/testThreads.py)
|
|
add_pytest(pyTestMultithreadedMolSupplier
|
|
${CMAKE_CURRENT_SOURCE_DIR}/testMultithreadedMolSupplier.py)
|
|
endif (RDK_TEST_MULTITHREADED)
|
|
|
|
add_pytest(pyTestPropertyLists
|
|
${CMAKE_CURRENT_SOURCE_DIR}/testPropertyLists.py)
|
|
|
|
add_pytest(pyCDXMLTest
|
|
${CMAKE_CURRENT_SOURCE_DIR}/test_cdxml.py)
|