OEExactGraphMatch

OEExactGraphMatch(mol1: Union[OEGraphMol,OEMol,OEQMol],
                  mol2: Union[OEGraphMol,OEMol,OEQMol]) -> bool

Determines whether two molecules, ‘mol1’ and ‘mol2’, have exactly the same graph. This function effectively compares the canonical SMILES of both molecules (created by OECreateCanSmiString) using string equality.