code: def set_structure(self, lattice, species, coords, coords_are_cartesian):
          
          self.setup_structure(
              Structure(lattice, species, coords, coords_are_cartesian))
docs: Sets up the pymatgen structure for which the coordination geometries have to be identified starting from the
          lattice, the species and the coordinates
          :param lattice: The lattice of the structure
          :param species: The species on the sites
          :param coords: The coordinates of the sites
          :param coords_are_cartesian: If set to True, the coordinates are given in cartesian coordinates