def _reset(self, index, total, percentage_step, length):
        """Resets to the progressbar to start a new one"""
        self._start_time = datetime.datetime.now()
        self._start_index = index
        self._current_index = index
        self._percentage_step = percentage_step
        self._total = float(total)
        self._total_minus_one = total - 1
        self._length = length
        self._norm_factor = total * 100.0 / percentage_step
        self._current_interval = int((index + 1.0) / self._norm_factor)
dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/utils/helpful_functions.py/_Progressbar._reset/swapped operands of `/`