Canonicalize a SMILES string, but returns the original SMILES string if it fails.
smiles (str) –
str
check_valence (bool, default: True) –
bool
True