OEReadMol2File

bool OEReadMol2File(oemolistream &ifs, OEMolBase &mol, bool m2h=false)

Reads the contents of the Tripos Sybyl mol2 file into the specified OEMolBase. The ‘m2h’ parameter indicates whether the connection table already has all hydrogen atoms explicit, informing the OEChem TK mol2 file reader not to adjust implicit hydrogen counts to satisfy valence and formal charge rules.