Trouble with loading SMILES to QED module #7158
-
Good day! I am a Biochemistry undergraduate, and for my thesis I am working on designing bioinorganic complexes in silico and looking at their possible applications in medicine. In any case, the complexes I'm working with contain an aromatic ligand sandwiched to the metal center and as you may know drawing such a bond is still a limitation in many drawing softwares. As a compromise, I directly bonded the carbons to the metal center. Subsequently, I generated the SMILES and then tried calculating its QED in RDKit. However, I get the following error even though the valence of the carbons seem to check out (please correct me if I am wrong on this). I have also tried standardizing the SMILES input but I also get the error shown.
I have also tried setting sanitize=False, and while I am now able to use the QED module, I get the following error.
Pre-condition Violation Traceback (most recent call last): Any help on how to resolve this error would be much appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@ShirosakiK Please also paste your code as text, or people willing to help will have to retype the code from your image. |
Beta Was this translation helpful? Give feedback.
-
@ShirosakiK
Alternatively, if you wish to preserve the dative nature of the coordination bond, you may delete the existing single bonds and re-add a dative bond pointing from the non-metal to the metal:
|
Beta Was this translation helpful? Give feedback.
@ShirosakiK
An option to preserve the integrity of the complex while avoiding to exceed the valences of carbon, nitrogen and oxygen atom involved in such complexes is to convert those single bonds into zero-order bonds: