          self._frames = Frames(arguments.frames_dir, self._get_count())
          self._extracted_faces = ExtractedFaces(self._frames,
                                                 self._alignments,
                                                 size=arguments.size)
          self._saver = None
          logger.debug("Initialized %s", self.__class__.__name__)
  
      @classmethod
      def _get_min_size(cls, extract_size: int, min_size: int) -> int:
          """ Obtain the minimum size that a face has been resized from to be included as a valid
 
</s> remove         self._mask_pipeline = None
 </s> add         self._mask_pipeline: Optional[Extractor] = None </s> remove         alignment_file = self._find_alignments()
        self.alignments = None if job == "from-faces" else AlignmentData(alignment_file)
 </s> add         if job == "from-faces":
            self.alignments = None
        else:
            self.alignments = AlignmentData(self._find_alignments())
 </s> remove     def _sort_alignments(self, alignments: dict) -> dict:
 </s> add     def _sort_alignments(self,
                         alignments: Dict[str, Dict[str, List[Tuple[int,
                                                               AlignmentFileDict,
                                                               str,
                                                               dict]]]]
                         ) -> Dict[str, Dict[str, List[AlignmentFileDict]]] : </s> remove         self._faces = faces if faces else Faces(arguments.faces_dir, **kwargs)
 </s> add         if faces:
            self._faces = faces
        else:
            assert arguments is not None
            self._faces = Faces(arguments.faces_dir, **kwargs) </s> remove     def _extract_alignment(self, metadata: dict) -> Tuple[str, int, dict]:
 </s> add     def _extract_alignment(self, metadata: dict) -> Tuple[str, int, AlignmentFileDict]:
        self._saver: Optional[ImagesSaver] = None
          self._frames = Frames(arguments.frames_dir, self._get_count())
          self._extracted_faces = ExtractedFaces(self._frames,
                                                 self._alignments,
                                                 size=arguments.size)
        self._saver: Optional[ImagesSaver] = None
          logger.debug("Initialized %s", self.__class__.__name__)
  
      @classmethod
      def _get_min_size(cls, extract_size: int, min_size: int) -> int:
          """ Obtain the minimum size that a face has been resized from to be included as a valid
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Alignments tool - don't error on from-faces job 
tools/alignments/jobs.py