def _cluster_size_changed(self, event):
        """
        Called when the user inputs text in this panel to
        change the cluster size.
        """
        new_value = self._cluster_size_text.GetValue()
        try:
            new_value = int(new_value)
            self._model.set_cluster_size(new_value)
            self._cluster_size_label.SetValue(self._cluster_size_label_ok)
        except __HOLE__:
            self._cluster_size_label.SetValue(self._cluster_size_label_fail)
dataset/ETHPy150Open williballenthin/INDXParse/MFTView.py/DiskGeometryWarningPanel._cluster_size_changed