def printRemainingTime(self):
        remaining_subjects = self.number_of_subjects_done - self.total_number_of_subjects
        time_one_subject = self.time_list[-1] / self.number_of_subjects_done
        remaining_time = remaining_subjects * time_one_subject
        hours, rem = divmod(remaining_time, 3600)
        minutes, seconds = divmod(rem, 60)
        if self.is_started:
            sct.printv('Remaining time: {:0>2}:{:0>2}:{:05.2f}'.format(int(hours), int(minutes), seconds))
        else:
            sct.printv('Total time: {:0>2}:{:0>2}:{:05.2f}'.format(int(hours), int(minutes), seconds))
dataset/ETHPy150Open neuropoly/spinalcordtoolbox/dev/template_preprocessing/pipeline_template.py/TimeObject.printRemainingTime/swapped operands of `-`