Your code returns ./babtest.py Trying words of length 1 Trying words of length 2 Trying words of length 3 Trying words of length 4 Trying words of length 5 Trying words of length 6
I don't know C++, but I looked through latest snapshot of OpenBabel code and saw, that there is two definitions of SetInFormat() function in obconversion.cpp file. Second of this definitions is bool OBConversion::SetOutFormat(const char* outID) { if(outID) pOutFormat= FindFormat(outID); return pOutFormat && !(pOutFormat->Flags() & NOTWRITABLE); } and uses FindFormat() function. I searched its definition with grep and didn't find it. -- View this message in context: http://forums.openbabel.org/Error-in-Pybel-readstring-smi-format-not-recognized-tp4657776p4657788.html Sent from the General discussion mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss