  
      def _compile_output(self):
          """ Compile list of frames that meet criteria """
          action = self._job.replace("-", "_")
          processor = getattr(self, "_get_{}".format(action))
          logger.debug("Processor: %s", processor)
          return [item for item in processor()]  # pylint:disable=unnecessary-comprehension
  
      def _get_no_faces(self):
          """ yield each frame that has no face match in alignments file """
 
</s> remove     def _pad_legacy_masks(cls, detected_face):
 </s> add     def _pad_legacy_masks(cls, detected_face: DetectedFace) -> None: </s> remove     def _check_folder(self):
 </s> add     def _check_folder(self) -> None: </s> remove         with open(output_file, "w") as f_output:
 </s> add         with open(output_file, "w", encoding="utf8") as f_output: </s> remove         if self._is_legacy and extracted_faces != 0 and not self._arguments.large:
 </s> add         if self._is_legacy and extracted_faces != 0 and self._min_size == 0:
        processor = getattr(self, f"_get_{action}")
  
      def _compile_output(self):
          """ Compile list of frames that meet criteria """
          action = self._job.replace("-", "_")
        processor = getattr(self, f"_get_{action}")
          logger.debug("Processor: %s", processor)
          return [item for item in processor()]  # pylint:disable=unnecessary-comprehension
  
      def _get_no_faces(self):
          """ yield each frame that has no face match in alignments file """
keep keep keep keep replace keep keep keep keep keep
 Alignments tool - Replace 'extract-large' with 'min-size' 
tools/alignments/jobs.py