From: <chr...@us...> - 2010-11-28 11:30:00
|
Revision: 4324 http://openbabel.svn.sourceforge.net/openbabel/?rev=4324&view=rev Author: chrismorl Date: 2010-11-28 11:29:53 +0000 (Sun, 28 Nov 2010) Log Message: ----------- In the -s option, add an automatic call to AddHydrogens() on the molecule if #1 is detected in SMARTS. This fixes an issue raised by Fredrik Wallner on the OpenBabel-Discuss mailing list. '[H]' is already detected in OBSmartsPattern::SMARTSParser, but extending to #1 caused problems with atom typing. Rather than dig around in the pre-history, it is safer, although less general, to do the mod in the -s option. Modified Paths: -------------- openbabel/trunk/src/ops/opisomorph.cpp This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |