We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here are a couple of examples:
In [3]: from rdkit import Chem ...: mol = Chem.MolFromSmiles('CC(C)C(C(=O)OC(C#N)c1cccc(Oc2ccccc2)c1)c3ccc(OC(F)F)cc3') ...: len(Chem.ResonanceMolSupplier(mol, Chem.KEKULE_ALL, maxStructs = 5)) Out[3]: 5 In [4]: len(Chem.ResonanceMolSupplier(mol, Chem.KEKULE_ALL, maxStructs = 3)) --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-4-67b3948cbeb1> in <module> ----> 1 len(Chem.ResonanceMolSupplier(mol, Chem.KEKULE_ALL, maxStructs = 3)) RuntimeError: idx = 0, d_ceVect.size() = 0 In [5]: mol = Chem.MolFromSmiles('c1cccnc1CCc1ccncc1') In [6]: len(Chem.ResonanceMolSupplier(mol, Chem.KEKULE_ALL, maxStructs = 3)) Out[6]: 3 In [7]: len(Chem.ResonanceMolSupplier(mol, Chem.KEKULE_ALL, maxStructs = 2)) --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-7-1973ad78917d> in <module> ----> 1 len(Chem.ResonanceMolSupplier(mol, Chem.KEKULE_ALL, maxStructs = 2)) RuntimeError: idx = 0, d_ceVect.size() = 0 In [8]: len(Chem.ResonanceMolSupplier(mol, Chem.KEKULE_ALL, maxStructs = 3)) Out[8]: 3
The text was updated successfully, but these errors were encountered:
@greglandrum I'll have a look later today or tomorrow.
Sorry, something went wrong.
Thanks @ptosco
- fixes rdkit#3041
731c03c
- added a couple of missing const - added a test for maxStructs
cf031c2
- fixes #3041 (#3045)
17f8b00
ptosco
No branches or pull requests
Here are a couple of examples:
The text was updated successfully, but these errors were encountered: