Menu

#808 Xn or vn SMARTS match for radical fails

2.3.x
open
nobody
5
2012-10-23
2012-06-19
No

X3 means 3 connections in total (explicit and implicit)

obabel -:CC(=O)[NH2] -s [#6][NX3H2] -osmi
CC(=O)N
....correct!

But for the corresponding radical....

obabel -:CC(=O)[NH] -s [#6][NX2H1] -osmi
0 molecules
...incorrect...it should match

obabel -:CC(=O)[NH] -s [#6][NX3H1] -osmi
CC(=O)[NH]
...incorrect...it shouldn't match

Discussion