code: def from_computed_structure_entry(entry, miller_index, label=None,
                                        adsorbates=None, clean_entry=None, **kwargs):
          
          return SlabEntry(entry.structure, entry.energy, miller_index, label=label,
                           adsorbates=adsorbates, clean_entry=clean_entry, **kwargs)
docs: Returns SlabEntry from a ComputedStructureEntry