def uncharge_smiles(smiles):
mol = Chem.MolFromSmiles(smiles)<EOL>u = Uncharger()<EOL>mol = u.uncharge(mol)<EOL>if mol:<EOL><INDENT>return Chem.MolToSmiles(mol, isomericSmiles=True)<EOL><DEDENT>
Utility function that returns the uncharged SMILES for a given SMILES string.