          FaceswapError
              If an invalid selection has been found.
  
          """
          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)
  
          if (self._args.writer == "ffmpeg" and
                  not self._images.is_video and
                  self._args.reference_video is None):
              raise FaceswapError("Output as video selected, but using frames as input. You must "
                                  "provide a reference video ('-ref', '--reference-video').")
 
</s> remove         self._validate()
 </s> add         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)
          FaceswapError
              If an invalid selection has been found.
  
          """






          if (self._args.writer == "ffmpeg" and
                  not self._images.is_video and
                  self._args.reference_video is None):
              raise FaceswapError("Output as video selected, but using frames as input. You must "
                                  "provide a reference video ('-ref', '--reference-video').")
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 convert - bugfix - Race condition when checking for predicted mask existence 
scripts/convert.py