def _cancel_sites_symmetry(self):
    ' See cancel_sites_symmetry - this metod does just the same, but it does not set the symmetry property.'
    sites = np.empty(len(self), dtype=object)
    used = set()
    occupation = self.info.get('occupancy', {})
    for i in range(len(self)):
        if (self._unique_sites is not None):
            site = self._unique_sites[i]
            if (site in used):
                site = site.copy()
            else:
                used.add(site)
        else:
            symbol = (occupation[i] if ((i in occupation) and occupation[i]) else self.symbols[i])
            site = Site(self, symbol)
        sites[i] = site
    self.sites = sites
See cancel_sites_symmetry - this metod does just the same, but it does not set the symmetry property.
def _cancel_sites_symmetry(self):
    ' '
    sites = np.empty(len(self), dtype=object)
    used = set()
    occupation = self.info.get('occupancy', {})
    for i in range(len(self)):
        if (self._unique_sites is not None):
            site = self._unique_sites[i]
            if (site in used):
                site = site.copy()
            else:
                used.add(site)
        else:
            symbol = (occupation[i] if ((i in occupation) and occupation[i]) else self.symbols[i])
            site = Site(self, symbol)
        sites[i] = site
    self.sites = sites