def set_date(self, date):
        done = float((date - self.start_date).days)
        self.__update_amount((self.num_days / done) * 100.0)
        self.prog_bar += \
            ' processed %s - %d of %s days complete' % (date.strftime(_fmt), done, self.num_days)
        self._date = date
dataset/ETHPy150Open manahl/mdf/mdf/lab/progress.py/ProgressBar.set_date/swapped operands of `/`