def get_geometry(self):
    'Returns the geometry\n        If a xyz filename was given the file is read out\n        otherwise it is assumed that the geometry was given as string\n        which is then reformatted as a list usable as input for openfermion\n        :return: geometry as list\n        e.g. [(h,(0.0,0.0,0.35)),(h,(0.0,0.0,-0.35))]\n        Units: Angstrom!\n\n        Parameters\n        ----------\n\n        Returns\n        -------\n\n        '
    if (self.geometry.split('.')[(- 1)] == 'xyz'):
        (geomstring, comment) = self.read_xyz_from_file(self.geometry)
        if (self.description == ''):
            self.description = comment
        return self.convert_to_list(geomstring)
    elif (self.geometry is not None):
        return self.convert_to_list(self.geometry)
    else:
        raise Exception('Parameters.qc.geometry is None')
Returns the geometry
If a xyz filename was given the file is read out
otherwise it is assumed that the geometry was given as string
which is then reformatted as a list usable as input for openfermion
:return: geometry as list
e.g. [(h,(0.0,0.0,0.35)),(h,(0.0,0.0,-0.35))]
Units: Angstrom!

Parameters
----------

Returns
-------
def get_geometry(self):
    'Returns the geometry\n        If a xyz filename was given the file is read out\n        otherwise it is assumed that the geometry was given as string\n        which is then reformatted as a list usable as input for openfermion\n        :return: geometry as list\n        e.g. [(h,(0.0,0.0,0.35)),(h,(0.0,0.0,-0.35))]\n        Units: Angstrom!\n\n        Parameters\n        ----------\n\n        Returns\n        -------\n\n        '
    if (self.geometry.split('.')[(- 1)] == 'xyz'):
        (geomstring, comment) = self.read_xyz_from_file(self.geometry)
        if (self.description == ):
            self.description = comment
        return self.convert_to_list(geomstring)
    elif (self.geometry is not None):
        return self.convert_to_list(self.geometry)
    else:
        raise Exception('Parameters.qc.geometry is None')