bool MyReadMol2Molecule(oemolistream &ifs, OEMolBase &mol) { mol.Clear(); if (OEReadMol2File(ifs,mol)) { OEFindRingAtomsAndBonds(mol); OEAssignAromaticFlags(mol); return true; } mol.Clear(); return false; }