def bestalg(self, dimfun):
        if self._bestalg is None:
            self._bestalg = bb.bestalg.generate(self.algds)
        return self._bestalg[dimfun] if dimfun is not None else self._bestalg
Trap stream errors.
dataset/ETHPy150Open pasky/cocopf/pproc.py/PortfolioDataSets.bestalg--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/server.py/trapStreamError