@classmethod
    def get_text_for_value(self, value):
        bc = self.get_by_value(value)
        if bc is None:
            return _("%(value)r (invalid choice for %(list)s)") % dict(
                list=self.__name__, value=value)
        return self.display_text(bc)
Enable single channels.
dataset/ETHPy150Open lsaffre/lino/lino/core/choicelists.py/ChoiceList.get_text_for_value--crossover with--dataset/ETHPy150Open LabPy/lantz/lantz/drivers/legacy/aa/aotf.py/MDSnC.enabled