def auto_final(self, max_length):
        _log.debug("%s:auto_final max:%d index:%d final:%s trigger:%s" % (self.__str__(), 
                        max_length, self.index, str(self._final), str(self._trigger)))
        self.max_length = max_length
        if self.max_length >= self.index:
            self.final()
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/utilities/dynops.py/List.auto_final/swapped operands of `>=`