@refined.setter
    def refined(self, value):

        if value is None:
            self._refined = None
            return

        if not (len(value) - 1) % 8 == 0:
            raise ValueError("refined should have shape 8 * n + 1")

        self._refined = self._validate(value)
dataset/ETHPy150Open hyperion-rt/hyperion/hyperion/grid/octree_grid.py/OctreeGrid.refined/original