The docs for OBMol &operator+= are currently as follows:

//! Copies atoms and bonds but not OBGenericData
    OBMol &operator+=(const OBMol &mol);


So, mola += molb adds molb to mola but does not copy the stereo or
residue info (among others). Is there a rationale for this?

Shouldn't mola = molb and mola += molb share an almost identical
implementation (e.g. call a common function), except that a new
Molecule is created in the first case?

- Noel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to