Commit Graph

38 Commits

Author SHA1 Message Date
Raul Sofia
372fbad131 Extended fix for #9101 (#9255)
* fix extended boundary issue (3 mols)

* clang pass

* no change. retrigger CI for failed java test

there's a failing java test that seems to be failing by chance rather than by changes, as it depends on rng. this is just to retrigger the CI pipeline to confirm this

* no change. retrigger the CI (yet again)

* raw strings and removed garbage collector
2026-05-06 06:10:37 +02:00
Raul Sofia
4b92c2fa8c Performance improvement: Implement buffered reading for SDMolSupplier (#9010) 2026-01-10 18:29:56 +01:00
Andrew Dirksen
07e53b4fcd update .gitignore (#8871)
* add to .gitignore

* one more .gitignore
2025-10-16 04:59:04 +02:00
Paolo Tosco
053a0283f7 Patch RapidJSON to make sure it builds on all platforms (#8818)
* 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>
2025-09-26 05:28:46 +02:00
Eisuke Kawashima
5407a3f85b chore: update .gitignore (#8055)
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2024-12-05 08:36:26 +01:00
PatrickPenner
1f3c092f01 Gitignore fix (#7861)
* Gitignore fixes

- Add an external lib to the .gitignore
- A number test files appear to be written to different paths thatn in the .gitignore

* Remove unnecessary linebreak
2024-10-01 04:10:24 +02:00
Gareth Jones
f99155c325 C# Build Net6 library and tests using cmake (#7326)
* Dotnet core build and test for RDKit

* Cmake dot net build and ctest working on windows

* Remove old Linux mono build

* Update to net8 and create RDK_BUILD_DOTNET_CSHARP_TESTS flag
2024-04-08 14:15:05 +02:00
Eisuke Kawashima
c4b73064e1 chore: update .gitignore (#6922) 2023-11-22 07:44:18 +01:00
Rocco Moretti
d1ac37e84c Fix UnitTestPandasTools for running without pandas installed. (#6299)
* Make UnitTestPandasTools more robust to not having pandas present.

* Adjust gitignore to ignore additional test-generated files.
2023-04-19 16:48:28 +02:00
Greg Landrum
58b79c6f8e BondDir not cleared from bonds that aren't stereoactive (#6162)
* backup

* update .gitignore

* passes tests

* all tests now pass

* update release notes

* cleanup

* changes in response to review
2023-03-07 15:15:11 +01:00
Eisuke Kawashima
3720537c7e Add Eigen to ExternalProject and automatically download if RDK_BUILD_DESCRIPTORS3D (#3075) 2021-09-30 16:45:01 +02:00
Eisuke Kawashima
b9a5be5a2d miscellaneous updates (#4284)
* Remove accidentally tracked files and unset x flag

* Ignore ComicNeue

* Unify test tag to `reader`

* Trivial destructors

* Bump CMAKE_CXX_STANDARD to 14 (#4165)
2021-07-13 06:57:29 +02:00
jfkonecn
4f0521e116 fixes #3967 (#4190)
* fixes #3967

* modernize test

Co-authored-by: greg landrum <greg.landrum@gmail.com>
2021-06-03 05:13:13 +02:00
Michel Moreau
55b8ab9b76 Making RDKit minimallib (JS lib) available through the npm package manager (#4086)
* Npm publishing files - v1 in progress

* refactor .gitignore and package.json

* 2021.3.1-beta.0

* edit readme

* 2021.3.1-beta.1

* first version of read me and small tweak to docker build

* rdkit spelling uniform in readme

* 2021.3.1-beta.2

* update TOC

* add file to .gitignore

* 2021.3.1-beta.3

* add additional comment

* add back real readme

* add release tag example

* edit comment in git ignore

* add a link to unpkg.com

* 2021.3.1-beta.4

* final tweak to readme

* 2021.3.1-beta.5

* fix typo

* 2021.3.1-beta.6

* additional edits to README.md

* 2021.3.1-beta.7

* last minor readme edit

* 2021.3.1-beta.8

* add badges

* 2021.3.1-beta.9

* point homepage to minimallib readme

* 2021.3.1-beta.10

* 2021.3.1-beta.11

* make the js file the entry point

* 2021.3.1-beta.12

* fix release without dist

* 2021.3.1-beta.13

* add license badge to readme

* 2021.3.1-beta.14

* apply all reviews

getting started html file is now official demo
use npm version with --no-git-tag-version
use placeholder for version in npm package
add new line in all files
edit description and authors in package.json

* update live demo to be the getting started page

* add logging of version in readme example

* apply new set of review

fix author field for good
add back demo.html
edit readme accordingly
edit dockerfile to include GettingStarted.html in dist

* include proper getting started file in build

* edit publish process based on new PLACEHOLDER version

* update version in readme

* update toc

* add back placeholder

* remove ugly readme warning
2021-04-29 08:24:23 +02:00
Ric
c9199cf1da Address #2753 (#3750)
* add test export heder to gitignore

* define export macros in separate file

* install new header

* patch GA with the new macros

* fix struct declarations

* fix conformerparser exports

* fix MolSGroupParsing ParseV3000Array export

* fix java wrappers

* export exceptions

* remove duplicated exports

* Build RDGeneral exceptions into lib

* export queries, only for *nix

* fix RingDecomposerLib header manipulation

* fix CIP labeler test issues
2021-02-15 14:29:04 +01:00
Greg Landrum
59f9d2b950 update some .gitignores 2020-06-09 15:57:23 +02:00
Ric
cc8e21864b Update Maeparser & Coordgen Dependencies (#3011)
* update

* remove references to templates.mae
2020-03-17 13:50:57 +01:00
Eisuke Kawashima
7fab5582c3 Ignore archives and files under External/ [ci skip] 2019-10-10 20:17:39 +09:00
Ric
d26d4b076e Support for parsing/writing SGroups in SD Mol files. (#2138)
* Implementation of SGroups

* remove sample files test

* update gitignore with test outputs

* fix RevisionModifier

* re-enable tests

* backup commit; things seem to work so far

* some refactoring; obvious s group tests pass now

* more refactoring

* everything now out of the public API

* not sure why this was still in there

* rename functions; all tests now pass

* remove getNextFreeSGroupId; readd comment in copy SGroups

* clang-format

* squash-merge current master

* squash merge master

* Address comments on PR

- Update to current master.
- Move SGroup parse time checks to SGroupChecks namespace.
- Store SGroups in ROMOl as vector<SGroups>.
- SGroup methods return referenes instead of pointers.
- Use atom/bond/sgroup indexes for properties instead of pointers.
- Have SGroups inherit from RDProps; move properties to RDProps.
- Remove trivial/unused methods.
- Add a link to the SD specification atop SGroup.h
2019-01-22 15:42:27 +01:00
Ric
3cc9206a48 Update build rules for coorgen & maeparser (#2184) 2019-01-06 06:28:00 +00:00
Ric
eb01d94573 updated gitignore to skip files generated outside of build (#2095) 2018-10-05 16:46:45 +02:00
Greg Landrum
87786c08b5 Merge branch 'master' into modern_cxx
# Conflicts:
#	.travis.yml
#	Code/GraphMol/FileParsers/MolFileParser.cpp
#	Code/GraphMol/FileParsers/MolFileStereochem.cpp
#	Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp
#	Code/GraphMol/MolAlign/testMolAlign.cpp
#	Code/GraphMol/MolDraw2D/MolDraw2D.cpp
#	Code/GraphMol/MolDraw2D/Wrap/rdMolDraw2D.cpp
#	Code/GraphMol/QueryOps.cpp
#	Code/GraphMol/ROMol.cpp
#	Code/GraphMol/SmilesParse/test.cpp
#	Code/GraphMol/Trajectory/Trajectory.cpp
#	Code/GraphMol/Wrap/Atom.cpp
#	Code/GraphMol/Wrap/Bond.cpp
#	Code/GraphMol/new_canon.cpp
#	Code/RDGeneral/testDict.cpp
#	Code/SimDivPickers/Wrap/MaxMinPicker.cpp
2017-10-05 05:58:38 +02:00
Greg Landrum
b344b56a40 remove the INCHI-API dir from .gitignore 2017-09-15 08:07:17 +02:00
Greg Landrum
12342c5643 merge to master 2017-07-21 04:50:35 +02:00
Greg Landrum
51b5ef89cc Add a collection of new 3D descriptors (#1467)
* 3D Descriptors Dragons

* stripped down, not yet working

* get this building on a non C++-11 compiler

* move the python test to the python directory

* move the python test to the python directory

* add the python test

* now at least those tests runn

* warning comment

* some basic refactoring and cleanup

* get python wrapper "working" (completely untested)

* fix Name

* fixing AutoCorr & RDF

* AutoCorr test added
* RDF reviewed based on AutoCorr comments

* fix Morse code

* Morse reviewed

* Correct Morse & start Getaway

* correct MORSE test
* start Getaway clean up

* simplification of Whim

* better

* fix Getaway

* fix RCON

* merge repaired

* adding Dragon 2D autocorrelations descriptors

* fix the 3D autocorrelation descriptors based on the modification in
Dragon.
* Adding the 2D autocorrelation descriptors (no need of Eigen
dependency for this one)
* Adding 2D test case
* IState … no idea for the moment
* there is an error in 2D computation (memory error ???)

* fix the IState for molecules with Hs

* need to use getTotalNumHs(true) not getTotalNumHs()
* also need to remove Hs in both dv and d!

* fixing Rcov values

I fix the Rcov values

* fix Getaway

* remove push_back
* remove call to sum
* improve tests

* fix getaway

* adding precision parameter to GETAWAY
* adding rouding (1e-3)

* fix WHIM

* use void in declarations of function
* update MolDescriptors link

* remove print option in WHIM

* fix python wrapper to 3D descriptors.

- all modifications reduce computation time by a factor of 3!

* final fix for Getaway

* all output are fixed except the 2 first values due to clustering
approach.
* cluster cannot be fixed du tu float precision issue between Java &
c++

* best fix of ITH and ISH

* use the same algorithm as in Dragon 6 but there is still a deviation

* remove std::move

* std:move only works on c++ 11

* fixing issue based on Greg Comments

* auto2D still not working on my env

* update 3d test.py

* auto 2D not working after the first loop test

* tighten up the tests

* change name

* update, but still does not pass

* make this run (though it does not work)

* re-enable test3D

* some cleanup

* add GETAWAY test data. Note that the tests fail

* fix the ATS and ATSC autocorrelation 2D

Broto Moreau and Geary autocorrelation are not correct again a specificity of Dragon to compute them. The result are not consistant with Padel because we use the relative weigth not in Padel.

* one minor change to get things to compile

* fix the M & G matrix computation

fix inversion in the computation of the equations for both M & G matrixes

* update autocorr2d tests

* 192 examples

* fix issue in cluster 0.01 0.009 case

this is not correct all the cases

* update GETAWAY expected values to reflect the fact that we cannot reproduce the literature values exactly
fix a leak in GETAWAY

* fix the negative values in gamma

this is strickly the implementation that we find in the book molecular descriptors for chemoinformatics (except the case where an atom is already in the axis in this case it should be added in the symetric list which is not the case in this implementation)

* Update WHIM.cpp

adding the axis atoms to the symetrical list

* update WHIM tests

* add AUTOCORR2D to MolDescriptors and the python wrappers

* start adding tests

* test the python versions of the new descriptors

* update list of descriptors
2017-07-02 11:28:48 +02:00
Christian Ribeaud
de499c2ef8 Support more formats and add new method returning deleted fragments (#1432)
* Support more formats and add new method returning deleted fragments

* Reduce number of changes and make more visible what has really changed

* Add 'UnitTestSaltRemover' and perform changes suggested by review

* Add support for 'smi' file

* Improve doctest regarding new functionality

* Following suggestions made by collaborator

* Be consistent with 'ValueError' and add an example without tuple destructuring
2017-07-02 11:28:15 +02:00
Alain Vaucher
21e6b81935 Merge branch 'master' into modern-cmake 2017-07-01 17:59:14 +02:00
Greg Landrum
71932ee4f9 Add a collection of new 3D descriptors (#1467)
* 3D Descriptors Dragons

* stripped down, not yet working

* get this building on a non C++-11 compiler

* move the python test to the python directory

* move the python test to the python directory

* add the python test

* now at least those tests runn

* warning comment

* some basic refactoring and cleanup

* get python wrapper "working" (completely untested)

* fix Name

* fixing AutoCorr & RDF

* AutoCorr test added
* RDF reviewed based on AutoCorr comments

* fix Morse code

* Morse reviewed

* Correct Morse & start Getaway

* correct MORSE test
* start Getaway clean up

* simplification of Whim

* better

* fix Getaway

* fix RCON

* merge repaired

* adding Dragon 2D autocorrelations descriptors

* fix the 3D autocorrelation descriptors based on the modification in
Dragon.
* Adding the 2D autocorrelation descriptors (no need of Eigen
dependency for this one)
* Adding 2D test case
* IState … no idea for the moment
* there is an error in 2D computation (memory error ???)

* fix the IState for molecules with Hs

* need to use getTotalNumHs(true) not getTotalNumHs()
* also need to remove Hs in both dv and d!

* fixing Rcov values

I fix the Rcov values

* fix Getaway

* remove push_back
* remove call to sum
* improve tests

* fix getaway

* adding precision parameter to GETAWAY
* adding rouding (1e-3)

* fix WHIM

* use void in declarations of function
* update MolDescriptors link

* remove print option in WHIM

* fix python wrapper to 3D descriptors.

- all modifications reduce computation time by a factor of 3!

* final fix for Getaway

* all output are fixed except the 2 first values due to clustering
approach.
* cluster cannot be fixed du tu float precision issue between Java &
c++

* best fix of ITH and ISH

* use the same algorithm as in Dragon 6 but there is still a deviation

* remove std::move

* std:move only works on c++ 11

* fixing issue based on Greg Comments

* auto2D still not working on my env

* update 3d test.py

* auto 2D not working after the first loop test

* tighten up the tests

* change name

* update, but still does not pass

* make this run (though it does not work)

* re-enable test3D

* some cleanup

* add GETAWAY test data. Note that the tests fail

* fix the ATS and ATSC autocorrelation 2D

Broto Moreau and Geary autocorrelation are not correct again a specificity of Dragon to compute them. The result are not consistant with Padel because we use the relative weigth not in Padel.

* one minor change to get things to compile

* fix the M & G matrix computation

fix inversion in the computation of the equations for both M & G matrixes

* update autocorr2d tests

* 192 examples

* fix issue in cluster 0.01 0.009 case

this is not correct all the cases

* update GETAWAY expected values to reflect the fact that we cannot reproduce the literature values exactly
fix a leak in GETAWAY

* fix the negative values in gamma

this is strickly the implementation that we find in the book molecular descriptors for chemoinformatics (except the case where an atom is already in the axis in this case it should be added in the symetric list which is not the case in this implementation)

* Update WHIM.cpp

adding the axis atoms to the symetrical list

* update WHIM tests

* add AUTOCORR2D to MolDescriptors and the python wrappers

* start adding tests

* test the python versions of the new descriptors

* update list of descriptors
2017-06-27 18:57:10 +02:00
Christian Ribeaud
e4717913cd Support more formats and add new method returning deleted fragments (#1432)
* Support more formats and add new method returning deleted fragments

* Reduce number of changes and make more visible what has really changed

* Add 'UnitTestSaltRemover' and perform changes suggested by review

* Add support for 'smi' file

* Improve doctest regarding new functionality

* Following suggestions made by collaborator

* Be consistent with 'ValueError' and add an example without tuple destructuring
2017-06-19 17:10:10 +02:00
Alain Vaucher
320dc2095b Update .gitignore for CLion files 2017-05-30 20:35:01 +02:00
gedeck
c1552d06db Add test artifact to gitignore (#1326)
* Add test artifact to gitignore

* Removed the bin directory from gitignore
2017-02-22 07:31:13 -05:00
gedeck
7d3a8b940a Remove deprecated string module functions (#1223)
* 1194: Review assignments of range in Python code 

Task-Url: https://github.com/rdkit/rdkit/issues/1194
Either wrapped the range expression into a list or made sure that the
code is working with a range object.

* Removed use of deprecated string module functions
2016-12-21 17:02:03 +01:00
Greg Landrum
11f039069e prep for release:
release notes update
version name
2016-11-04 04:56:36 +01:00
Greg Landrum
4f2ec84e7b Add some 3D molecular descriptors (#1084)
* update .gitignore

* foundation for 3D descriptors
move PBF into core

* cleanup work

* a bit more cleanup

* move the principal moments calc to MolTransforms

* cleanup

* cleanups

* add caching of the principal moments and values

* do not include the 3D descriptors in MolDescriptors.h

* the properties are computed

* add PMI descriptors and tests

* add tests for NPR descriptors

* return 0 when the largest PMI is zero

* PMI edge case tests

* NPR edge case tests

* PBF edge case tests

* PBF edge case tests

* more edge cases

* add a few more 3d descriptors

* add defns to docs

* tests for the new descriptors

* add versions to new descriptors

* add 3d descriptors to python wrapper

* add eigen support to the travis build

* try to get non-windows builds working

* remove computeCovarianceMatrix() from java wrapper

* make pmi property names "private"
2016-10-10 08:34:08 -04:00
gedeck
01dda4a2bc Issue #1066: Improved .gitignore file (#1068)
The additional entries in the .gitignore file cover all files created
during the build and test phase of RDkit.
2016-09-18 19:49:26 -07:00
Greg Landrum
4d17f8a4ec Dev/doc updates 2 sept (#1055)
* doc update from Dave Cosgrove

* update contrib docs

* actually do something with .gitignore
2016-09-02 16:02:04 +02:00
Juuso Lehtivarjo
752e41a2bc Deleted accidentally pushed irrelevant files 2016-02-09 10:18:04 +02:00
Juuso Lehtivarjo
bf05e4f3a2 Bug Fix to getShortestPath #2 2016-02-08 13:28:38 +02:00