def apply_update(self, lakes_number, lakes_total, lake_name, lake_date, lake_image, lake_image_total):
        if self.lake_totals == None:
            self.lake_totals = [10] * lakes_total
            self.lake_counts = [0] * lakes_total
        self.lake_totals[lakes_number] = lake_image_total
        self.lake_counts[lakes_number] = lake_image
        total = sum(self.lake_totals)
        progress = sum(self.lake_counts)
        self.status.setText((lake_name, lake_date) % 'Completed processing %s on %s.')
        self.progressBar.setValue(float(progress) / total * 100)
dataset/ETHPy150Open nasa/CrisisMappingToolkit/bin/measure_interface.py/ProgressPopup.apply_update/swapped operands of `%`