You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pre-condition Violation Number of atom mismatch Violation occurred on line 564 in file Code\GraphMol\ROMol.cpp Failed Expression: conf->getNumAtoms() == this->getNumAtoms() RDKIT: 2017.09.1 BOOST: 1_56
#104
Open
ssalaniwal opened this issue
Jan 5, 2022
· 2 comments
When using Python Script node in Knime after the RDKit R-group Decomposition node, I am getting the following error message.
ERROR Python Script 0:54 Execute failed: Pre-condition Violation
Number of atom mismatch
Violation occurred on line 564 in file Code\GraphMol\ROMol.cpp
Failed Expression: conf->getNumAtoms() == this->getNumAtoms()
RDKIT: 2017.09.1
BOOST: 1_56
The python script only contains the following lines of code
_from rdkit import Chem
from rdkit.Chem import AllChem
import pandas as pd
where R1 is generated by the RDkit R-group decomposition node.
If I feed the structures prior to R-group decomposition directly to the python script then it works just fine indicating that the Rgroup decomposition node output is likely the source of this error.
RDKIt G-Group decomp node configuration is as follows:
Knime: 4.5.0
Python: 2.7.18 installed as part of conda environment
OS: Windows 10
If you have a question about the RDKit or aren't sure if what you're seeing is the right behavior please use the Discussions tab above (https://github.com/rdkit/rdkit/discussions) instead of posting it here.
Please help us help you: We normally need the information below in order to answer questions or understand bug reports. If you do not provide the information requested we may not be able to help you and will probably close the issue.
PLEASE DELETE THIS SECTION AFTER YOU HAVE READ IT
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior, feel free to paste a bit of Python in here.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration (please complete the following information):
RDKit version:
OS: [e.g. Ubuntu 20.04]
Python version (if relevant):
Are you using conda?
If you are using conda, which channel did you install the rdkit from?
If you are not using conda: how did you install the RDKit?
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
@ssalaniwal : you are using an ancient and unsupported version of the RDKit and (and Python itself, for that matter). It may be that the problem is due to that, but we'll see.
Hi,
When using Python Script node in Knime after the RDKit R-group Decomposition node, I am getting the following error message.
ERROR Python Script 0:54 Execute failed: Pre-condition Violation
Number of atom mismatch
Violation occurred on line 564 in file Code\GraphMol\ROMol.cpp
Failed Expression: conf->getNumAtoms() == this->getNumAtoms()
RDKIT: 2017.09.1
BOOST: 1_56
The python script only contains the following lines of code
_from rdkit import Chem
from rdkit.Chem import AllChem
import pandas as pd
mols = input_table_1['R1']
output_table_1 = input_table_1.copy()_
where R1 is generated by the RDkit R-group decomposition node.
If I feed the structures prior to R-group decomposition directly to the python script then it works just fine indicating that the Rgroup decomposition node output is likely the source of this error.
RDKIt G-Group decomp node configuration is as follows:
Knime: 4.5.0
Python: 2.7.18 installed as part of conda environment
OS: Windows 10
If you have a question about the RDKit or aren't sure if what you're seeing is the right behavior please use the Discussions tab above (https://github.com/rdkit/rdkit/discussions) instead of posting it here.
Please help us help you: We normally need the information below in order to answer questions or understand bug reports. If you do not provide the information requested we may not be able to help you and will probably close the issue.
PLEASE DELETE THIS SECTION AFTER YOU HAVE READ IT
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior, feel free to paste a bit of Python in here.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: