@staticmethod
def format_element_name(string):
    "OpenFermion uses case sensitive hash tables for chemical elements\n        I.e. you need to name Lithium: 'Li' and 'li' or 'LI' will not work\n        this convenience function does the naming\n        :return: first letter converted to upper rest to lower\n\n        Parameters\n        ----------\n        string :\n\n\n        Returns\n        -------\n\n        "
    assert (len(string) > 0)
    assert isinstance(string, str)
    fstring = (string[0].upper() + string[1:].lower())
    return fstring
OpenFermion uses case sensitive hash tables for chemical elements
I.e. you need to name Lithium: 'Li' and 'li' or 'LI' will not work
this convenience function does the naming
:return: first letter converted to upper rest to lower

Parameters
----------
string :


Returns
-------
@staticmethod
def format_element_name(string):
    "OpenFermion uses case sensitive hash tables for chemical elements\n        I.e. you need to name Lithium: 'Li' and 'li' or 'LI' will not work\n        this convenience function does the naming\n        :return: first letter converted to upper rest to lower\n\n        Parameters\n        ----------\n        string :\n\n\n        Returns\n        -------\n\n        "
    assert (len(string) > 0)
    assert isinstance(string, str)
    fstring = (string[0].upper() + string[1:].lower())
    return fstring