rdkit_chem 2025.09.3.1-x86_64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. checksums.yaml +7 -0
  2. data/CMakeLists.txt +713 -0
  3. data/Code/CMakeLists.txt +44 -0
  4. data/Code/RubyWrappers/Abbreviations.i +19 -0
  5. data/Code/RubyWrappers/AddHs.i +34 -0
  6. data/Code/RubyWrappers/Atom.i +165 -0
  7. data/Code/RubyWrappers/AtomIterators.i +77 -0
  8. data/Code/RubyWrappers/AtomPairs.i +95 -0
  9. data/Code/RubyWrappers/AvalonLib.i +41 -0
  10. data/Code/RubyWrappers/BitOps.i +72 -0
  11. data/Code/RubyWrappers/Bond.i +87 -0
  12. data/Code/RubyWrappers/BondIterators.i +61 -0
  13. data/Code/RubyWrappers/CMakeLists.txt +67 -0
  14. data/Code/RubyWrappers/Canon.i +40 -0
  15. data/Code/RubyWrappers/ChemDraw.i +81 -0
  16. data/Code/RubyWrappers/ChemReactions.i +166 -0
  17. data/Code/RubyWrappers/ChemTransforms.i +126 -0
  18. data/Code/RubyWrappers/Conformer.i +69 -0
  19. data/Code/RubyWrappers/Descriptors.i +64 -0
  20. data/Code/RubyWrappers/Dict.i +45 -0
  21. data/Code/RubyWrappers/DistGeom.i +217 -0
  22. data/Code/RubyWrappers/DiversityPick.h +49 -0
  23. data/Code/RubyWrappers/DiversityPick.i +10 -0
  24. data/Code/RubyWrappers/ErrorGenerator.i +73 -0
  25. data/Code/RubyWrappers/ExplicitBitVect.i +76 -0
  26. data/Code/RubyWrappers/FMCS.i +63 -0
  27. data/Code/RubyWrappers/FilterCatalog.i +154 -0
  28. data/Code/RubyWrappers/Fingerprints.i +56 -0
  29. data/Code/RubyWrappers/ForceField.i +161 -0
  30. data/Code/RubyWrappers/GeneralizedSubstruct.i +38 -0
  31. data/Code/RubyWrappers/GenericRDKitException.h +27 -0
  32. data/Code/RubyWrappers/Inchi.i +38 -0
  33. data/Code/RubyWrappers/MolBundle.i +16 -0
  34. data/Code/RubyWrappers/MolDraw2D.i +117 -0
  35. data/Code/RubyWrappers/MolEnumerator.i +45 -0
  36. data/Code/RubyWrappers/MolHash.i +25 -0
  37. data/Code/RubyWrappers/MolOps.i +72 -0
  38. data/Code/RubyWrappers/MolStandardize.i +37 -0
  39. data/Code/RubyWrappers/MolSupplier.i +83 -0
  40. data/Code/RubyWrappers/MolTransforms.i +39 -0
  41. data/Code/RubyWrappers/MolWriters.i +41 -0
  42. data/Code/RubyWrappers/MonomerInfo.i +42 -0
  43. data/Code/RubyWrappers/MorganFingerprints.h +21 -0
  44. data/Code/RubyWrappers/MorganFingerprints.i +66 -0
  45. data/Code/RubyWrappers/PeriodicTable.i +44 -0
  46. data/Code/RubyWrappers/Queries.i +289 -0
  47. data/Code/RubyWrappers/QueryAtom.i +47 -0
  48. data/Code/RubyWrappers/QueryBond.i +47 -0
  49. data/Code/RubyWrappers/QueryOps.i +44 -0
  50. data/Code/RubyWrappers/RDKitExceptions.i +75 -0
  51. data/Code/RubyWrappers/RDLogger.i +74 -0
  52. data/Code/RubyWrappers/RDProps.i +44 -0
  53. data/Code/RubyWrappers/RGroupDecomposition.i +52 -0
  54. data/Code/RubyWrappers/ROMol.i +695 -0
  55. data/Code/RubyWrappers/RWMol.i +241 -0
  56. data/Code/RubyWrappers/RascalMCES.i +71 -0
  57. data/Code/RubyWrappers/ReactionFingerprints.i +37 -0
  58. data/Code/RubyWrappers/RingInfo.i +40 -0
  59. data/Code/RubyWrappers/Rings.i +40 -0
  60. data/Code/RubyWrappers/SanitException.i +100 -0
  61. data/Code/RubyWrappers/ScaffoldNetwork.i +28 -0
  62. data/Code/RubyWrappers/SmartsWrite.i +38 -0
  63. data/Code/RubyWrappers/SmilesParse.i +40 -0
  64. data/Code/RubyWrappers/SmilesWrite.i +42 -0
  65. data/Code/RubyWrappers/StereoGroup.i +16 -0
  66. data/Code/RubyWrappers/Streams.i +67 -0
  67. data/Code/RubyWrappers/Subgraphs.i +53 -0
  68. data/Code/RubyWrappers/Subset.i +75 -0
  69. data/Code/RubyWrappers/SubstanceGroup.i +91 -0
  70. data/Code/RubyWrappers/SubstructLibrary.i +80 -0
  71. data/Code/RubyWrappers/TautomerQuery.i +19 -0
  72. data/Code/RubyWrappers/Trajectory.i +34 -0
  73. data/Code/RubyWrappers/boost_tuple.i +64 -0
  74. data/Code/RubyWrappers/extend_std_vector.i +10 -0
  75. data/Code/RubyWrappers/gmwrapper/CMakeLists.txt +69 -0
  76. data/Code/RubyWrappers/gmwrapper/GraphMolRuby.i +431 -0
  77. data/Code/RubyWrappers/gmwrapper/std_list.i +65 -0
  78. data/Code/RubyWrappers/point.i +56 -0
  79. data/Code/RubyWrappers/transforms.i +60 -0
  80. data/Code/RubyWrappers/types.i +40 -0
  81. data/README.md +24 -0
  82. data/Rakefile +130 -0
  83. data/ext/rdkit_chem/CMakeLists.txt +69 -0
  84. data/ext/rdkit_chem/Makefile +5 -0
  85. data/ext/rdkit_chem/extconf.rb +84 -0
  86. data/lib/rdkit_chem/3.3.0/RDKitChem.so +0 -0
  87. data/lib/rdkit_chem/3.3.0/libRDKitAbbreviations.so +1 -0
  88. data/lib/rdkit_chem/3.3.0/libRDKitAbbreviations.so.1 +1 -0
  89. data/lib/rdkit_chem/3.3.0/libRDKitAbbreviations.so.1.2026.03.1pre +0 -0
  90. data/lib/rdkit_chem/3.3.0/libRDKitAlignment.so +1 -0
  91. data/lib/rdkit_chem/3.3.0/libRDKitAlignment.so.1 +1 -0
  92. data/lib/rdkit_chem/3.3.0/libRDKitAlignment.so.1.2026.03.1pre +0 -0
  93. data/lib/rdkit_chem/3.3.0/libRDKitCIPLabeler.so +1 -0
  94. data/lib/rdkit_chem/3.3.0/libRDKitCIPLabeler.so.1 +1 -0
  95. data/lib/rdkit_chem/3.3.0/libRDKitCIPLabeler.so.1.2026.03.1pre +0 -0
  96. data/lib/rdkit_chem/3.3.0/libRDKitCatalogs.so +1 -0
  97. data/lib/rdkit_chem/3.3.0/libRDKitCatalogs.so.1 +1 -0
  98. data/lib/rdkit_chem/3.3.0/libRDKitCatalogs.so.1.2026.03.1pre +0 -0
  99. data/lib/rdkit_chem/3.3.0/libRDKitChemDraw.so +1 -0
  100. data/lib/rdkit_chem/3.3.0/libRDKitChemDraw.so.1 +1 -0
  101. data/lib/rdkit_chem/3.3.0/libRDKitChemDraw.so.1.2026.03.1pre +0 -0
  102. data/lib/rdkit_chem/3.3.0/libRDKitChemReactions.so +1 -0
  103. data/lib/rdkit_chem/3.3.0/libRDKitChemReactions.so.1 +1 -0
  104. data/lib/rdkit_chem/3.3.0/libRDKitChemReactions.so.1.2026.03.1pre +0 -0
  105. data/lib/rdkit_chem/3.3.0/libRDKitChemTransforms.so +1 -0
  106. data/lib/rdkit_chem/3.3.0/libRDKitChemTransforms.so.1 +1 -0
  107. data/lib/rdkit_chem/3.3.0/libRDKitChemTransforms.so.1.2026.03.1pre +0 -0
  108. data/lib/rdkit_chem/3.3.0/libRDKitChemicalFeatures.so +1 -0
  109. data/lib/rdkit_chem/3.3.0/libRDKitChemicalFeatures.so.1 +1 -0
  110. data/lib/rdkit_chem/3.3.0/libRDKitChemicalFeatures.so.1.2026.03.1pre +0 -0
  111. data/lib/rdkit_chem/3.3.0/libRDKitDataStructs.so +1 -0
  112. data/lib/rdkit_chem/3.3.0/libRDKitDataStructs.so.1 +1 -0
  113. data/lib/rdkit_chem/3.3.0/libRDKitDataStructs.so.1.2026.03.1pre +0 -0
  114. data/lib/rdkit_chem/3.3.0/libRDKitDepictor.so +1 -0
  115. data/lib/rdkit_chem/3.3.0/libRDKitDepictor.so.1 +1 -0
  116. data/lib/rdkit_chem/3.3.0/libRDKitDepictor.so.1.2026.03.1pre +0 -0
  117. data/lib/rdkit_chem/3.3.0/libRDKitDeprotect.so +1 -0
  118. data/lib/rdkit_chem/3.3.0/libRDKitDeprotect.so.1 +1 -0
  119. data/lib/rdkit_chem/3.3.0/libRDKitDeprotect.so.1.2026.03.1pre +0 -0
  120. data/lib/rdkit_chem/3.3.0/libRDKitDescriptors.so +1 -0
  121. data/lib/rdkit_chem/3.3.0/libRDKitDescriptors.so.1 +1 -0
  122. data/lib/rdkit_chem/3.3.0/libRDKitDescriptors.so.1.2026.03.1pre +0 -0
  123. data/lib/rdkit_chem/3.3.0/libRDKitDistGeomHelpers.so +1 -0
  124. data/lib/rdkit_chem/3.3.0/libRDKitDistGeomHelpers.so.1 +1 -0
  125. data/lib/rdkit_chem/3.3.0/libRDKitDistGeomHelpers.so.1.2026.03.1pre +0 -0
  126. data/lib/rdkit_chem/3.3.0/libRDKitDistGeometry.so +1 -0
  127. data/lib/rdkit_chem/3.3.0/libRDKitDistGeometry.so.1 +1 -0
  128. data/lib/rdkit_chem/3.3.0/libRDKitDistGeometry.so.1.2026.03.1pre +0 -0
  129. data/lib/rdkit_chem/3.3.0/libRDKitEigenSolvers.so +1 -0
  130. data/lib/rdkit_chem/3.3.0/libRDKitEigenSolvers.so.1 +1 -0
  131. data/lib/rdkit_chem/3.3.0/libRDKitEigenSolvers.so.1.2026.03.1pre +0 -0
  132. data/lib/rdkit_chem/3.3.0/libRDKitEnumerateStereoisomers.so +1 -0
  133. data/lib/rdkit_chem/3.3.0/libRDKitEnumerateStereoisomers.so.1 +1 -0
  134. data/lib/rdkit_chem/3.3.0/libRDKitEnumerateStereoisomers.so.1.2026.03.1pre +0 -0
  135. data/lib/rdkit_chem/3.3.0/libRDKitFMCS.so +1 -0
  136. data/lib/rdkit_chem/3.3.0/libRDKitFMCS.so.1 +1 -0
  137. data/lib/rdkit_chem/3.3.0/libRDKitFMCS.so.1.2026.03.1pre +0 -0
  138. data/lib/rdkit_chem/3.3.0/libRDKitFileParsers.so +1 -0
  139. data/lib/rdkit_chem/3.3.0/libRDKitFileParsers.so.1 +1 -0
  140. data/lib/rdkit_chem/3.3.0/libRDKitFileParsers.so.1.2026.03.1pre +0 -0
  141. data/lib/rdkit_chem/3.3.0/libRDKitFilterCatalog.so +1 -0
  142. data/lib/rdkit_chem/3.3.0/libRDKitFilterCatalog.so.1 +1 -0
  143. data/lib/rdkit_chem/3.3.0/libRDKitFilterCatalog.so.1.2026.03.1pre +0 -0
  144. data/lib/rdkit_chem/3.3.0/libRDKitFingerprints.so +1 -0
  145. data/lib/rdkit_chem/3.3.0/libRDKitFingerprints.so.1 +1 -0
  146. data/lib/rdkit_chem/3.3.0/libRDKitFingerprints.so.1.2026.03.1pre +0 -0
  147. data/lib/rdkit_chem/3.3.0/libRDKitForceField.so +1 -0
  148. data/lib/rdkit_chem/3.3.0/libRDKitForceField.so.1 +1 -0
  149. data/lib/rdkit_chem/3.3.0/libRDKitForceField.so.1.2026.03.1pre +0 -0
  150. data/lib/rdkit_chem/3.3.0/libRDKitForceFieldHelpers.so +1 -0
  151. data/lib/rdkit_chem/3.3.0/libRDKitForceFieldHelpers.so.1 +1 -0
  152. data/lib/rdkit_chem/3.3.0/libRDKitForceFieldHelpers.so.1.2026.03.1pre +0 -0
  153. data/lib/rdkit_chem/3.3.0/libRDKitFragCatalog.so +1 -0
  154. data/lib/rdkit_chem/3.3.0/libRDKitFragCatalog.so.1 +1 -0
  155. data/lib/rdkit_chem/3.3.0/libRDKitFragCatalog.so.1.2026.03.1pre +0 -0
  156. data/lib/rdkit_chem/3.3.0/libRDKitGeneralizedSubstruct.so +1 -0
  157. data/lib/rdkit_chem/3.3.0/libRDKitGeneralizedSubstruct.so.1 +1 -0
  158. data/lib/rdkit_chem/3.3.0/libRDKitGeneralizedSubstruct.so.1.2026.03.1pre +0 -0
  159. data/lib/rdkit_chem/3.3.0/libRDKitGenericGroups.so +1 -0
  160. data/lib/rdkit_chem/3.3.0/libRDKitGenericGroups.so.1 +1 -0
  161. data/lib/rdkit_chem/3.3.0/libRDKitGenericGroups.so.1.2026.03.1pre +0 -0
  162. data/lib/rdkit_chem/3.3.0/libRDKitGraphMol.so +1 -0
  163. data/lib/rdkit_chem/3.3.0/libRDKitGraphMol.so.1 +1 -0
  164. data/lib/rdkit_chem/3.3.0/libRDKitGraphMol.so.1.2026.03.1pre +0 -0
  165. data/lib/rdkit_chem/3.3.0/libRDKitInfoTheory.so +1 -0
  166. data/lib/rdkit_chem/3.3.0/libRDKitInfoTheory.so.1 +1 -0
  167. data/lib/rdkit_chem/3.3.0/libRDKitInfoTheory.so.1.2026.03.1pre +0 -0
  168. data/lib/rdkit_chem/3.3.0/libRDKitMMPA.so +1 -0
  169. data/lib/rdkit_chem/3.3.0/libRDKitMMPA.so.1 +1 -0
  170. data/lib/rdkit_chem/3.3.0/libRDKitMMPA.so.1.2026.03.1pre +0 -0
  171. data/lib/rdkit_chem/3.3.0/libRDKitMarvinParser.so +1 -0
  172. data/lib/rdkit_chem/3.3.0/libRDKitMarvinParser.so.1 +1 -0
  173. data/lib/rdkit_chem/3.3.0/libRDKitMarvinParser.so.1.2026.03.1pre +0 -0
  174. data/lib/rdkit_chem/3.3.0/libRDKitMolAlign.so +1 -0
  175. data/lib/rdkit_chem/3.3.0/libRDKitMolAlign.so.1 +1 -0
  176. data/lib/rdkit_chem/3.3.0/libRDKitMolAlign.so.1.2026.03.1pre +0 -0
  177. data/lib/rdkit_chem/3.3.0/libRDKitMolCatalog.so +1 -0
  178. data/lib/rdkit_chem/3.3.0/libRDKitMolCatalog.so.1 +1 -0
  179. data/lib/rdkit_chem/3.3.0/libRDKitMolCatalog.so.1.2026.03.1pre +0 -0
  180. data/lib/rdkit_chem/3.3.0/libRDKitMolChemicalFeatures.so +1 -0
  181. data/lib/rdkit_chem/3.3.0/libRDKitMolChemicalFeatures.so.1 +1 -0
  182. data/lib/rdkit_chem/3.3.0/libRDKitMolChemicalFeatures.so.1.2026.03.1pre +0 -0
  183. data/lib/rdkit_chem/3.3.0/libRDKitMolDraw2D.so +1 -0
  184. data/lib/rdkit_chem/3.3.0/libRDKitMolDraw2D.so.1 +1 -0
  185. data/lib/rdkit_chem/3.3.0/libRDKitMolDraw2D.so.1.2026.03.1pre +0 -0
  186. data/lib/rdkit_chem/3.3.0/libRDKitMolEnumerator.so +1 -0
  187. data/lib/rdkit_chem/3.3.0/libRDKitMolEnumerator.so.1 +1 -0
  188. data/lib/rdkit_chem/3.3.0/libRDKitMolEnumerator.so.1.2026.03.1pre +0 -0
  189. data/lib/rdkit_chem/3.3.0/libRDKitMolHash.so +1 -0
  190. data/lib/rdkit_chem/3.3.0/libRDKitMolHash.so.1 +1 -0
  191. data/lib/rdkit_chem/3.3.0/libRDKitMolHash.so.1.2026.03.1pre +0 -0
  192. data/lib/rdkit_chem/3.3.0/libRDKitMolInteractionFields.so +1 -0
  193. data/lib/rdkit_chem/3.3.0/libRDKitMolInteractionFields.so.1 +1 -0
  194. data/lib/rdkit_chem/3.3.0/libRDKitMolInteractionFields.so.1.2026.03.1pre +0 -0
  195. data/lib/rdkit_chem/3.3.0/libRDKitMolInterchange.so +1 -0
  196. data/lib/rdkit_chem/3.3.0/libRDKitMolInterchange.so.1 +1 -0
  197. data/lib/rdkit_chem/3.3.0/libRDKitMolInterchange.so.1.2026.03.1pre +0 -0
  198. data/lib/rdkit_chem/3.3.0/libRDKitMolProcessing.so +1 -0
  199. data/lib/rdkit_chem/3.3.0/libRDKitMolProcessing.so.1 +1 -0
  200. data/lib/rdkit_chem/3.3.0/libRDKitMolProcessing.so.1.2026.03.1pre +0 -0
  201. data/lib/rdkit_chem/3.3.0/libRDKitMolStandardize.so +1 -0
  202. data/lib/rdkit_chem/3.3.0/libRDKitMolStandardize.so.1 +1 -0
  203. data/lib/rdkit_chem/3.3.0/libRDKitMolStandardize.so.1.2026.03.1pre +0 -0
  204. data/lib/rdkit_chem/3.3.0/libRDKitMolTransforms.so +1 -0
  205. data/lib/rdkit_chem/3.3.0/libRDKitMolTransforms.so.1 +1 -0
  206. data/lib/rdkit_chem/3.3.0/libRDKitMolTransforms.so.1.2026.03.1pre +0 -0
  207. data/lib/rdkit_chem/3.3.0/libRDKitO3AAlign.so +1 -0
  208. data/lib/rdkit_chem/3.3.0/libRDKitO3AAlign.so.1 +1 -0
  209. data/lib/rdkit_chem/3.3.0/libRDKitO3AAlign.so.1.2026.03.1pre +0 -0
  210. data/lib/rdkit_chem/3.3.0/libRDKitOptimizer.so +1 -0
  211. data/lib/rdkit_chem/3.3.0/libRDKitOptimizer.so.1 +1 -0
  212. data/lib/rdkit_chem/3.3.0/libRDKitOptimizer.so.1.2026.03.1pre +0 -0
  213. data/lib/rdkit_chem/3.3.0/libRDKitPartialCharges.so +1 -0
  214. data/lib/rdkit_chem/3.3.0/libRDKitPartialCharges.so.1 +1 -0
  215. data/lib/rdkit_chem/3.3.0/libRDKitPartialCharges.so.1.2026.03.1pre +0 -0
  216. data/lib/rdkit_chem/3.3.0/libRDKitPubChemShape.so +1 -0
  217. data/lib/rdkit_chem/3.3.0/libRDKitPubChemShape.so.1 +1 -0
  218. data/lib/rdkit_chem/3.3.0/libRDKitPubChemShape.so.1.2026.03.1pre +0 -0
  219. data/lib/rdkit_chem/3.3.0/libRDKitRDChemDrawLib.so +1 -0
  220. data/lib/rdkit_chem/3.3.0/libRDKitRDChemDrawLib.so.1 +1 -0
  221. data/lib/rdkit_chem/3.3.0/libRDKitRDChemDrawLib.so.1.2026.03.1pre +0 -0
  222. data/lib/rdkit_chem/3.3.0/libRDKitRDChemDrawReactionLib.so +1 -0
  223. data/lib/rdkit_chem/3.3.0/libRDKitRDChemDrawReactionLib.so.1 +1 -0
  224. data/lib/rdkit_chem/3.3.0/libRDKitRDChemDrawReactionLib.so.1.2026.03.1pre +0 -0
  225. data/lib/rdkit_chem/3.3.0/libRDKitRDGeneral.so +1 -0
  226. data/lib/rdkit_chem/3.3.0/libRDKitRDGeneral.so.1 +1 -0
  227. data/lib/rdkit_chem/3.3.0/libRDKitRDGeneral.so.1.2026.03.1pre +0 -0
  228. data/lib/rdkit_chem/3.3.0/libRDKitRDGeometryLib.so +1 -0
  229. data/lib/rdkit_chem/3.3.0/libRDKitRDGeometryLib.so.1 +1 -0
  230. data/lib/rdkit_chem/3.3.0/libRDKitRDGeometryLib.so.1.2026.03.1pre +0 -0
  231. data/lib/rdkit_chem/3.3.0/libRDKitRDStreams.so +1 -0
  232. data/lib/rdkit_chem/3.3.0/libRDKitRDStreams.so.1 +1 -0
  233. data/lib/rdkit_chem/3.3.0/libRDKitRDStreams.so.1.2026.03.1pre +0 -0
  234. data/lib/rdkit_chem/3.3.0/libRDKitRGroupDecomposition.so +1 -0
  235. data/lib/rdkit_chem/3.3.0/libRDKitRGroupDecomposition.so.1 +1 -0
  236. data/lib/rdkit_chem/3.3.0/libRDKitRGroupDecomposition.so.1.2026.03.1pre +0 -0
  237. data/lib/rdkit_chem/3.3.0/libRDKitRascalMCES.so +1 -0
  238. data/lib/rdkit_chem/3.3.0/libRDKitRascalMCES.so.1 +1 -0
  239. data/lib/rdkit_chem/3.3.0/libRDKitRascalMCES.so.1.2026.03.1pre +0 -0
  240. data/lib/rdkit_chem/3.3.0/libRDKitReducedGraphs.so +1 -0
  241. data/lib/rdkit_chem/3.3.0/libRDKitReducedGraphs.so.1 +1 -0
  242. data/lib/rdkit_chem/3.3.0/libRDKitReducedGraphs.so.1.2026.03.1pre +0 -0
  243. data/lib/rdkit_chem/3.3.0/libRDKitRingDecomposerLib.so +1 -0
  244. data/lib/rdkit_chem/3.3.0/libRDKitRingDecomposerLib.so.1 +1 -0
  245. data/lib/rdkit_chem/3.3.0/libRDKitRingDecomposerLib.so.1.2026.03.1pre +0 -0
  246. data/lib/rdkit_chem/3.3.0/libRDKitSLNParse.so +1 -0
  247. data/lib/rdkit_chem/3.3.0/libRDKitSLNParse.so.1 +1 -0
  248. data/lib/rdkit_chem/3.3.0/libRDKitSLNParse.so.1.2026.03.1pre +0 -0
  249. data/lib/rdkit_chem/3.3.0/libRDKitScaffoldNetwork.so +1 -0
  250. data/lib/rdkit_chem/3.3.0/libRDKitScaffoldNetwork.so.1 +1 -0
  251. data/lib/rdkit_chem/3.3.0/libRDKitScaffoldNetwork.so.1.2026.03.1pre +0 -0
  252. data/lib/rdkit_chem/3.3.0/libRDKitShapeHelpers.so +1 -0
  253. data/lib/rdkit_chem/3.3.0/libRDKitShapeHelpers.so.1 +1 -0
  254. data/lib/rdkit_chem/3.3.0/libRDKitShapeHelpers.so.1.2026.03.1pre +0 -0
  255. data/lib/rdkit_chem/3.3.0/libRDKitSimDivPickers.so +1 -0
  256. data/lib/rdkit_chem/3.3.0/libRDKitSimDivPickers.so.1 +1 -0
  257. data/lib/rdkit_chem/3.3.0/libRDKitSimDivPickers.so.1.2026.03.1pre +0 -0
  258. data/lib/rdkit_chem/3.3.0/libRDKitSmilesParse.so +1 -0
  259. data/lib/rdkit_chem/3.3.0/libRDKitSmilesParse.so.1 +1 -0
  260. data/lib/rdkit_chem/3.3.0/libRDKitSmilesParse.so.1.2026.03.1pre +0 -0
  261. data/lib/rdkit_chem/3.3.0/libRDKitSubgraphs.so +1 -0
  262. data/lib/rdkit_chem/3.3.0/libRDKitSubgraphs.so.1 +1 -0
  263. data/lib/rdkit_chem/3.3.0/libRDKitSubgraphs.so.1.2026.03.1pre +0 -0
  264. data/lib/rdkit_chem/3.3.0/libRDKitSubstructLibrary.so +1 -0
  265. data/lib/rdkit_chem/3.3.0/libRDKitSubstructLibrary.so.1 +1 -0
  266. data/lib/rdkit_chem/3.3.0/libRDKitSubstructLibrary.so.1.2026.03.1pre +0 -0
  267. data/lib/rdkit_chem/3.3.0/libRDKitSubstructMatch.so +1 -0
  268. data/lib/rdkit_chem/3.3.0/libRDKitSubstructMatch.so.1 +1 -0
  269. data/lib/rdkit_chem/3.3.0/libRDKitSubstructMatch.so.1.2026.03.1pre +0 -0
  270. data/lib/rdkit_chem/3.3.0/libRDKitSynthonSpaceSearch.so +1 -0
  271. data/lib/rdkit_chem/3.3.0/libRDKitSynthonSpaceSearch.so.1 +1 -0
  272. data/lib/rdkit_chem/3.3.0/libRDKitSynthonSpaceSearch.so.1.2026.03.1pre +0 -0
  273. data/lib/rdkit_chem/3.3.0/libRDKitTautomerQuery.so +1 -0
  274. data/lib/rdkit_chem/3.3.0/libRDKitTautomerQuery.so.1 +1 -0
  275. data/lib/rdkit_chem/3.3.0/libRDKitTautomerQuery.so.1.2026.03.1pre +0 -0
  276. data/lib/rdkit_chem/3.3.0/libRDKitTrajectory.so +1 -0
  277. data/lib/rdkit_chem/3.3.0/libRDKitTrajectory.so.1 +1 -0
  278. data/lib/rdkit_chem/3.3.0/libRDKitTrajectory.so.1.2026.03.1pre +0 -0
  279. data/lib/rdkit_chem/3.3.0/libRDKitcoordgen.so +1 -0
  280. data/lib/rdkit_chem/3.3.0/libRDKitcoordgen.so.1 +1 -0
  281. data/lib/rdkit_chem/3.3.0/libRDKitcoordgen.so.1.2026.03.1pre +0 -0
  282. data/lib/rdkit_chem/3.3.0/libRDKitga.so +1 -0
  283. data/lib/rdkit_chem/3.3.0/libRDKitga.so.1 +1 -0
  284. data/lib/rdkit_chem/3.3.0/libRDKitga.so.1.2026.03.1pre +0 -0
  285. data/lib/rdkit_chem/3.3.0/libRDKithc.so +1 -0
  286. data/lib/rdkit_chem/3.3.0/libRDKithc.so.1 +1 -0
  287. data/lib/rdkit_chem/3.3.0/libRDKithc.so.1.2026.03.1pre +0 -0
  288. data/lib/rdkit_chem/3.3.0/libRDKitmaeparser.so +1 -0
  289. data/lib/rdkit_chem/3.3.0/libRDKitmaeparser.so.1 +1 -0
  290. data/lib/rdkit_chem/3.3.0/libRDKitmaeparser.so.1.2026.03.1pre +0 -0
  291. data/lib/rdkit_chem/3.3.0/libRDKitpubchem_align3d.so +1 -0
  292. data/lib/rdkit_chem/3.3.0/libRDKitpubchem_align3d.so.1 +1 -0
  293. data/lib/rdkit_chem/3.3.0/libRDKitpubchem_align3d.so.1.2026.03.1pre +0 -0
  294. data/lib/rdkit_chem/version.rb +4 -0
  295. data/lib/rdkit_chem.rb +32 -0
  296. data/test/test_rdkit_chem.rb +47 -0
  297. metadata +364 -0
@@ -0,0 +1,47 @@
1
+ /*
2
+ * $Id$
3
+ *
4
+ * Copyright (c) 2010, Novartis Institutes for BioMedical Research Inc.
5
+ * All rights reserved.
6
+ *
7
+ * Redistribution and use in source and binary forms, with or without
8
+ * modification, are permitted provided that the following conditions are
9
+ * met:
10
+ *
11
+ * * Redistributions of source code must retain the above copyright
12
+ * notice, this list of conditions and the following disclaimer.
13
+ * * Redistributions in binary form must reproduce the above
14
+ * copyright notice, this list of conditions and the following
15
+ * disclaimer in the documentation and/or other materials provided
16
+ * with the distribution.
17
+ * * Neither the name of Novartis Institutes for BioMedical Research Inc.
18
+ * nor the names of its contributors may be used to endorse or promote
19
+ * products derived from this software without specific prior written permission.
20
+ *
21
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32
+ */
33
+
34
+ %{
35
+ #include <GraphMol/QueryBond.h>
36
+ %}
37
+
38
+ %ignore RDKit::QueryBond::expandQuery;
39
+ %ignore RDKit::QueryBond::setQuery;
40
+
41
+ %include <GraphMol/QueryBond.h>
42
+
43
+ %extend RDKit::QueryBond {
44
+ bool MatchBond(RDKit::Bond const *what) {
45
+ return ($self)->Match(what);
46
+ }
47
+ }
@@ -0,0 +1,44 @@
1
+ /*
2
+ * $Id$
3
+ *
4
+ * Copyright (c) 2010, Novartis Institutes for BioMedical Research Inc.
5
+ * All rights reserved.
6
+ *
7
+ * Redistribution and use in source and binary forms, with or without
8
+ * modification, are permitted provided that the following conditions are
9
+ * met:
10
+ *
11
+ * * Redistributions of source code must retain the above copyright
12
+ * notice, this list of conditions and the following disclaimer.
13
+ * * Redistributions in binary form must reproduce the above
14
+ * copyright notice, this list of conditions and the following
15
+ * disclaimer in the documentation and/or other materials provided
16
+ * with the distribution.
17
+ * * Neither the name of Novartis Institutes for BioMedical Research Inc.
18
+ * nor the names of its contributors may be used to endorse or promote
19
+ * products derived from this software without specific prior written permission.
20
+ *
21
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32
+ */
33
+
34
+ %{
35
+ #include <GraphMol/QueryOps.h>
36
+ %}
37
+
38
+ %ignore RDKit::RecursiveStructureQuery::d_mutex;
39
+ %ignore RDKit::HasPropWithValueQuery::getPair;
40
+ %ignore RDKit::HasPropWithValueQueryBase::getPair;
41
+
42
+ %include <Query/QueryObjects.h>
43
+ %include <Query/EqualityQuery.h>
44
+ %include <GraphMol/QueryOps.h>
@@ -0,0 +1,75 @@
1
+ /*
2
+ * $Id$
3
+ *
4
+ * Copyright (c) 2010, Novartis Institutes for BioMedical Research Inc.
5
+ * All rights reserved.
6
+ *
7
+ * Redistribution and use in source and binary forms, with or without
8
+ * modification, are permitted provided that the following conditions are
9
+ * met:
10
+ *
11
+ * * Redistributions of source code must retain the above copyright
12
+ * notice, this list of conditions and the following disclaimer.
13
+ * * Redistributions in binary form must reproduce the above
14
+ * copyright notice, this list of conditions and the following
15
+ * disclaimer in the documentation and/or other materials provided
16
+ * with the distribution.
17
+ * * Neither the name of Novartis Institutes for BioMedical Research Inc.
18
+ * nor the names of its contributors may be used to endorse or promote
19
+ * products derived from this software without specific prior written permission.
20
+ *
21
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32
+ */
33
+
34
+ // Defines all of the C++ -> Java exception handling
35
+
36
+ %{
37
+ #include <RDGeneral/Exceptions.h>
38
+ #include <RubyWrappers/GenericRDKitException.h>
39
+ %}
40
+
41
+ // Note that these files must follow the typemap declarations
42
+ %include <RDGeneral/Exceptions.h>
43
+ %include <RubyWrappers/GenericRDKitException.h>
44
+
45
+ %exception {
46
+ try {
47
+ $action
48
+ } catch (RDKit::ChemicalReactionException &e) {
49
+ static VALUE exceptionError = rb_define_class("ChemicalReactionException", rb_eRuntimeError);
50
+ rb_raise(exceptionError, "%s", e.what());
51
+ } catch (RDKit::ChemicalReactionParserException &e) {
52
+ static VALUE exceptionError = rb_define_class("ChemicalReactionParserException", rb_eRuntimeError);
53
+ rb_raise(exceptionError, "%s", e.what());
54
+ } catch (RDKit::ConformerException &e) {
55
+ static VALUE exceptionError = rb_define_class("ConformerException", rb_eRuntimeError);
56
+ rb_raise(exceptionError, "%s", e.what());
57
+ } catch (RDKit::MolPicklerException &e) {
58
+ static VALUE exceptionError = rb_define_class("MolPicklerException", rb_eRuntimeError);
59
+ rb_raise(exceptionError, "%s", e.what());
60
+ } catch (RDKit::MolSanitizeException &e) {
61
+ static VALUE exceptionError = rb_define_class("MolSanitizeException", rb_eRuntimeError);
62
+ rb_raise(exceptionError, "%s", e.what());
63
+ } catch (RDKit::SmilesParseException &e) {
64
+ static VALUE exceptionError = rb_define_class("SmilesParseException", rb_eRuntimeError);
65
+ rb_raise(exceptionError, "%s", e.what());
66
+ } catch (KeyErrorException &e) {
67
+ static VALUE exceptionError = rb_define_class("KeyErrorException", rb_eRuntimeError);
68
+ rb_raise(exceptionError, "%s", e.what());
69
+
70
+ // Generic exception -- anything else
71
+ } catch (std::exception &e) {
72
+ static VALUE exceptionError = rb_define_class("GenericRDKitException", rb_eRuntimeError);
73
+ rb_raise(exceptionError, "%s", e.what());
74
+ }
75
+ }
@@ -0,0 +1,74 @@
1
+ /*
2
+ *
3
+ * Copyright (c) 2010-2023, Novartis Institutes for BioMedical Research Inc.
4
+ * and other RDKit contributors
5
+ * All rights reserved.
6
+ *
7
+ * Redistribution and use in source and binary forms, with or without
8
+ * modification, are permitted provided that the following conditions are
9
+ * met:
10
+ *
11
+ * * Redistributions of source code must retain the above copyright
12
+ * notice, this list of conditions and the following disclaimer.
13
+ * * Redistributions in binary form must reproduce the above
14
+ * copyright notice, this list of conditions and the following
15
+ * disclaimer in the documentation and/or other materials provided
16
+ * with the distribution.
17
+ * * Neither the name of Novartis Institutes for BioMedical Research Inc.
18
+ * nor the names of its contributors may be used to endorse or promote
19
+ * products derived from this software without specific prior written
20
+ permission.
21
+ *
22
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
+ */
34
+ %ignore boost::logging::rdLogger::SetTee(std::ostream &stream);
35
+ %ignore rdAppLog;
36
+ %ignore rdDebugLog;
37
+ %ignore rdInfoLog;
38
+ %ignore rdErrorLog;
39
+ %ignore rdWarningLog;
40
+ %ignore rdStatusLog;
41
+ %{
42
+ #include <RDGeneral/RDLog.h>
43
+ boost::logging::rdLogger& getRdAppLog() {
44
+ return *rdAppLog;
45
+ }
46
+
47
+ boost::logging::rdLogger& getRdDebugLog() {
48
+ return *rdDebugLog;
49
+ }
50
+
51
+ boost::logging::rdLogger& getRdErrorLog() {
52
+ return *rdErrorLog;
53
+ }
54
+
55
+ boost::logging::rdLogger& getRdInfoLog() {
56
+ return *rdInfoLog;
57
+ }
58
+
59
+ boost::logging::rdLogger& getRdWarningLog() {
60
+ return *rdWarningLog;
61
+ }
62
+
63
+ boost::logging::rdLogger& getRdStatusLog() {
64
+ return *rdStatusLog;
65
+ }
66
+ %}
67
+ %include <RDGeneral/RDLog.h>
68
+
69
+ boost::logging::rdLogger& getRdAppLog();
70
+ boost::logging::rdLogger& getRdDebugLog();
71
+ boost::logging::rdLogger& getRdErrorLog();
72
+ boost::logging::rdLogger& getRdInfoLog();
73
+ boost::logging::rdLogger& getRdWarningLog();
74
+ boost::logging::rdLogger& getRdStatusLog();
@@ -0,0 +1,44 @@
1
+ /*
2
+ *
3
+ * Copyright (c) 2015, Novartis Institutes for BioMedical Research Inc.
4
+ * All rights reserved.
5
+ *
6
+ * Redistribution and use in source and binary forms, with or without
7
+ * modification, are permitted provided that the following conditions are
8
+ * met:
9
+ *
10
+ * * Redistributions of source code must retain the above copyright
11
+ * notice, this list of conditions and the following disclaimer.
12
+ * * Redistributions in binary form must reproduce the above
13
+ * copyright notice, this list of conditions and the following
14
+ * disclaimer in the documentation and/or other materials provided
15
+ * with the distribution.
16
+ * * Neither the name of Novartis Institutes for BioMedical Research Inc.
17
+ * nor the names of its contributors may be used to endorse or promote
18
+ * products derived from this software without specific prior written permission.
19
+ *
20
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
+ */
32
+
33
+ %{
34
+ #include <RDGeneral/types.h>
35
+ #include <RDGeneral/RDProps.h>
36
+ %}
37
+
38
+
39
+ %include <RDGeneral/RDProps.h>
40
+
41
+ %template(setProp) RDKit::RDProps::setProp<std::string>;
42
+ %template(setIntProp) RDKit::RDProps::setProp<int>;
43
+ %template(setBoolProp) RDKit::RDProps::setProp<bool>;
44
+ %template(setDoubleProp) RDKit::RDProps::setProp<double>;
@@ -0,0 +1,52 @@
1
+ /*
2
+ *
3
+ * Copyright (c) 2019, Greg Landrum
4
+ * All rights reserved.
5
+ *
6
+ * This file is part of the RDKit.
7
+ * The contents are covered by the terms of the BSD license
8
+ * which is included in the file license.txt, found at the root
9
+ * of the RDKit source tree.
10
+ *
11
+ */
12
+ %{
13
+ #include <GraphMol/RGroupDecomposition/RGroupDecompParams.h>
14
+ #include <GraphMol/RGroupDecomposition/RGroupDecompJSONParsers.h>
15
+ #include <GraphMol/RGroupDecomposition/RGroupDecomp.h>
16
+ typedef std::vector<std::string> STR_VECT;
17
+ %}
18
+
19
+ %include "std_string.i"
20
+
21
+ // SparseIntVect64 removed - Ruby SWIG lacks swig::traits for long long int (already defined in AtomPairs.i for 32-bit versions)
22
+
23
+ %template(ROMol_Vect) std::vector<boost::shared_ptr<RDKit::ROMol>>;
24
+ %template(StringMolMap_Vect) std::vector<std::map<std::string, boost::shared_ptr<RDKit::ROMol>>>;
25
+ %template(StringROMol_VectMap) std::map<std::string,std::vector<boost::shared_ptr<RDKit::ROMol>>>;
26
+
27
+
28
+ %extend std::map<std::string, boost::shared_ptr<RDKit::ROMol>> {
29
+ std::vector<std::string> keys() {
30
+ std::vector<std::string> _keys;
31
+ for(auto it : *self) {
32
+ std::cerr << "* '" << it.first << "'" << std::endl;
33
+ _keys.push_back(it.first);
34
+ }
35
+ return _keys;
36
+ }
37
+ }
38
+
39
+ %extend std::map<std::string,std::vector<boost::shared_ptr<RDKit::ROMol>>> {
40
+ std::vector<std::string> keys() {
41
+ std::vector<std::string> _keys;
42
+ for(auto it : *self) {
43
+ _keys.push_back(it.first);
44
+ }
45
+ return _keys;
46
+ }
47
+ }
48
+
49
+ %include <RDGeneral/BetterEnums.h>
50
+ %include <GraphMol/RGroupDecomposition/RGroupDecompParams.h>
51
+ %include <GraphMol/RGroupDecomposition/RGroupDecompJSONParsers.h>
52
+ %include <GraphMol/RGroupDecomposition/RGroupDecomp.h>