          Ensure that certain cli selections are valid and won't result in an error. Checks:
              * If frames have been passed in with video output, ensure user supplies reference
              video.
              * If a mask-type is selected, ensure it exists in the alignments file.
              * If a predicted mask-type is selected, ensure model has been trained with a mask
              otherwise attempt to select first available masks, otherwise raise error.
  
          Raises
          ------
 
</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         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                               masker="none",
 </s> add                               masker=self._args.mask_type, </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()
            * If "on-the-fly" and an NN mask is selected, output warning and switch to 'extended'
          Ensure that certain cli selections are valid and won't result in an error. Checks:
              * If frames have been passed in with video output, ensure user supplies reference
              video.
            * If "on-the-fly" and an NN mask is selected, output warning and switch to 'extended'
              * If a mask-type is selected, ensure it exists in the alignments file.
              * If a predicted mask-type is selected, ensure model has been trained with a mask
              otherwise attempt to select first available masks, otherwise raise error.
  
          Raises
          ------
keep keep add keep keep keep keep keep keep
 bugfix: Convert - don't error if no mask is selected 
scripts/convert.py