@property<EOL><INDENT>def charge(self):<DEDENT>
try:<EOL><INDENT>if not self.rdkitmol:<EOL><INDENT>return charge_from_formula(self.formula)<EOL><DEDENT>else:<EOL><INDENT>return Chem.GetFormalCharge(self.rdkitmol)<EOL><DEDENT><DEDENT>except:<EOL><INDENT>return charge_from_formula(self.formula)<EOL><DEDENT>
r'''Charge of a chemical, computed with RDKit from a chemical's SMILES.
        If RDKit is not available, holds None.

        Examples
        --------
        >>> Chemical('sodium ion').charge
        1