Commit c4af00b
RDKit converter inferring (#4305)
* refactor: move inferring code to separate module
* add docs stub
* refactor as a class
* add template based inferring
* handle deprecate NoImplicit
* fix tests and add missing TemplateInferer tests
* formatting and typing
* remaining formating issues and docs
* add adjust_hydrogens to TemplateInferer
* improve test coverage
* more nitpicks
* add rdDetermineBonds inferer
* address comments and linting
* revert auto-formatting
* expose STANDARDIZATION_REACTIONS and MONATOMIC_CATION_CHARGES for backwards compatibility
* make sanitization optional
* fix rdkit support for numpy v2
* fix tests
* document usage of rdkit inferers
* fix remaining tests rdkit incompatible with numpy 2
* chore: formatting/linting
* address comments: bump to 2.10.0, fix docs, formatting, missing tests
* chore: rename to inferrer
* formatting
* fix failing tests
---------
Co-authored-by: Cédric Bouysset <[email protected]>1 parent d036d2a commit c4af00b
File tree
11 files changed
+1260
-632
lines changed- .github/actions/setup-deps
- package
- MDAnalysis/converters
- doc/sphinx/source/documentation_pages/converters
- testsuite/MDAnalysisTests
- converters
- core
11 files changed
+1260
-632
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
71 | 79 | | |
72 | 80 | | |
73 | 81 | | |
| |||
0 commit comments