Replies: 1 comment
-
Hi @RJ-Li,
This is an error from RDKit, which is unable to parse your input. It is telling you that the carbon atom at position 27 has a valence of 6, instead of the expected valence of 4. Therefore, I'd carefully check your input to see what is going on and where the issue is. The problem is not related with
This a
This is a warning, also coming from RDKit. Again, it comes from a problem with your input file: the molecule is tagged as 2D, but not all Z coordinates are 0. Therefore, RDKit is telling you that it is treating it as a 3D molecule instead (despite the tag). Whether you can ignore this warning depends on your upstream pipeline. There might or might not have been something wrong in your pre-processing, so it is worth checking visually that the input structure is indeed what you would expect.
This is the same issue above. Looks like you have a second carbon atom with a valence of 6 instead of the expected valence of 4. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
[10:51:43] ERROR: Explicit valence for atom # 27 C, 6, is greater than permitted
Error calculating RMSD for 2019_general-train/13gs_1.sdf and 2019_general-sdf/13gs_ligand.sdf: 'NoneType' object has no attribute 'strip'
[10:51:43] Warning: molecule is tagged as 2D, but at least one Z coordinate is not zero. Marking the mol as 3D.
[10:51:43] Explicit valence for atom # 57 C, 6, is greater than permitted
Environment
pip
,conda
]: condaAdditional Context
I do not know why these errors occurs and whether these errors are crucial or not
My code to calculate RMSD is:
Beta Was this translation helpful? Give feedback.
All reactions