Returns SlabEntry from a ComputedStructureEntry

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