  
          self._patch_threads = None
          self._images = ImagesLoader(self._args.input_dir, fast_count=True)
          self._alignments = Alignments(self._args, False, self._images.is_video)
          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)
  
          self._opts = OptionalActions(self._args, self._images.file_list, self._alignments)
  
          self._add_queues()
          self._disk_io = DiskIO(self._alignments, self._images, arguments)
 
</s> remove         self._validate()
 </s> add  </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 </s> remove                               masker="none",
 </s> add                               masker=self._args.mask_type,
        self._validate()
  
          self._patch_threads = None
          self._images = ImagesLoader(self._args.input_dir, fast_count=True)
          self._alignments = Alignments(self._args, False, self._images.is_video)
        self._validate()
        self._validate()
        self._validate()
        self._validate()
        self._validate()
  
          self._opts = OptionalActions(self._args, self._images.file_list, self._alignments)
  
          self._add_queues()
          self._disk_io = DiskIO(self._alignments, self._images, arguments)
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 bugfix: Convert - don't error if no mask is selected 
scripts/convert.py