Closed leucinw closed 4 years ago
This error comes from setting the formal charges on every atom in a 2D molecule to 0 (atom.SetFormalCharge(0)
). N+ should have a valence of 3, but setting its formal charge to 0 gives it a valence of 4.
Michael,
I believe the code you are referencing in this case is for when there was a strange flat input molecule (was it Ammonia?) had inconsistent charge and bond structure in the input file. We can remove the two lines referring to formal charge here. The error that was referenced in this case was for something regarding the fragmenter lib, which has been fixed, although I had not closed this issue.
On Fri, Aug 7, 2020 at 10:10 AM Michael Quevillon notifications@github.com wrote:
This error comes setting the formal charges on every atom in a 2D molecule to 0 (atom.SetFormalCharge(0)). N+ should have a valence of 3, but setting its formal charge to 0 gives it a valence of 4.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pren/poltype/issues/29#issuecomment-670564614, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKNB26JARRKJZFJJMWP5MVLR7QKMVANCNFSM4PDTO46Q .
This molecule has an N+ atom which has a valence of 4. Poltype complained about this and crashed. All the files are located at
/home/liuchw/forEW/30e_n1_opt-1
(Ren lab cluster).