  
          self._add_queues()
          self._disk_io = DiskIO(self._alignments, self._images, arguments)
          self._predictor = Predict(self._disk_io.load_queue, self._queue_size, arguments)
          self._validate()
          get_folder(self._args.output_dir)
  
          configfile = self._args.configfile if hasattr(self._args, "configfile") else None
          self._converter = Converter(self._predictor.output_size,
                                      self._predictor.coverage_ratio,
 
</s> remove         if self._alignments.version == 1.0:
            logger.error("The alignments file format has been updated since the given alignments "
                         "file was generated. You need to update the file to proceed.")
            logger.error("To do this run the 'Alignments Tool' > 'Extract' Job.")
            sys.exit(1)
 </s> add         self._validate() </s> remove                     logger.trace("Convert error traceback:", exc_info=True)
 </s> add                     loglevel = logger.trace if log_once else logger.warning
                    loglevel("Convert error traceback:", exc_info=True)
                    log_once = True </s> remove         mask_centering = detected_face.mask[self._args.mask_type].stored_centering
 </s> add         if self._args.mask_type != "none":
            mask_centering = detected_face.mask[self._args.mask_type].stored_centering
        else:
            mask_centering = "face"  # Unused but requires a valid value </s> remove         if (self._args.mask_type not in ("none", "predicted") and
 </s> add         if (self._args.on_the_fly and
                self._args.mask_type not in ("none", "extended", "components")):
            logger.warning("You have selected an incompatible mask type ('%s') for On-The-Fly "
                           "conversion. Switching to 'extended'", self._args.mask_type)
            self._args.mask_type = "extended"

        if (not self._args.on_the_fly and
                self._args.mask_type not in ("none", "predicted") and
  
          self._add_queues()
          self._disk_io = DiskIO(self._alignments, self._images, arguments)
          self._predictor = Predict(self._disk_io.load_queue, self._queue_size, arguments)

          get_folder(self._args.output_dir)
  
          configfile = self._args.configfile if hasattr(self._args, "configfile") else None
          self._converter = Converter(self._predictor.output_size,
                                      self._predictor.coverage_ratio,
keep keep keep keep replace keep keep keep keep keep
 bugfix: Convert - don't error if no mask is selected 
scripts/convert.py