def canon(smiles):
    'Canonicalize SMILES for safety. If canonicalization ever changes this should remain consistent'
    return Chem.MolToSmiles(Chem.MolFromSmiles(smiles))
Canonicalize SMILES for safety. If canonicalization ever changes this should remain consistent
def canon(smiles):
    
    return Chem.MolToSmiles(Chem.MolFromSmiles(smiles))