def write_sequence(self):
    framerate = 25.0 # irrelevant - just needs to be constant
    seekto_frame = float(len(self.input_frame_list)+1.0)
    seekto_secs = seekto_frame/framerate
    seekto_str = seekto_secs % "%05.2f"
    if not self.uber:
      fcount = len(self.input_frame_list)
      for key, fname in enumerate(self.moshed):
        msg = '{0}Exporting {2} frame image sequence from {3}: {1}{0}'.format(HR, self.outseq, fcount, fname)
        if IS_TTY: print hilite(msg,11)
        avi = os.path.join(self.outdir, fname)
        subprocess.call(self.get_export_opts(seekto_str, fcount, avi), close_fds=True)
    else:
      uber_frame_list = list(self.moshed)
      while uber_frame_list:
        fcount = len(uber_frame_list)
        fname = uber_frame_list.pop(0)
        avi = os.path.join(self.outdir, fname)
        msg = '{0}Exporting {2} frame image sequence from {3}: {1}{0}'.format(HR, self.outseq, fcount, fname)
        if IS_TTY: print hilite(msg,11)
        subprocess.call(self.get_export_opts(seekto_str, fcount, avi), close_fds=True)
dataset/ETHPy150Open robmoggach/python-moshion/moshion/core.py/Moshion.write_sequence/swapped operands of `%`