def get_geometry_string(self) -> str:
    'returns the geometry as a string\n        :return: geometry string\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 (comment is not None):
            self.description = comment
        return geomstring
    else:
        return self.geometry
returns the geometry as a string
:return: geometry string

Parameters
----------

Returns
-------
def get_geometry_string(self) -> str:
    'returns the geometry as a string\n        :return: geometry string\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 (comment is not None):
            self.description = comment
        return geomstring
    else:
        return self.geometry