          logger.debug("Initializing %s: (arguments: %s)", self.__class__.__name__, arguments)
          self._arguments = arguments
          self._alignments = alignments
          self._is_legacy = self._alignments.version == 1.0  # pylint:disable=protected-access
          self._mask_pipeline = None
          self._faces_dir = arguments.faces_dir
          self._min_size = self._get_min_size(arguments.size, arguments.min_size)
  
          self._frames = Frames(arguments.frames_dir, self._get_count())
          self._extracted_faces = ExtractedFaces(self._frames,
 
</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                  arguments: Namespace,
 </s> add                  arguments: Optional[Namespace], </s> remove         self._saver = None
 </s> add         self._saver: Optional[ImagesSaver] = None </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             logger.trace("Updated: (frame: '%s', landmarks: %s)", frame, landmarks_xy)
 </s> add             logger.trace("Updated: (frame: '%s', landmarks: %s)",  # type:ignore
                         frame, landmarks_xy)
        self._mask_pipeline: Optional[Extractor] = None
          logger.debug("Initializing %s: (arguments: %s)", self.__class__.__name__, arguments)
          self._arguments = arguments
          self._alignments = alignments
          self._is_legacy = self._alignments.version == 1.0  # pylint:disable=protected-access
        self._mask_pipeline: Optional[Extractor] = None
          self._faces_dir = arguments.faces_dir
          self._min_size = self._get_min_size(arguments.size, arguments.min_size)
  
          self._frames = Frames(arguments.frames_dir, self._get_count())
          self._extracted_faces = ExtractedFaces(self._frames,
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Alignments tool - don't error on from-faces job 
tools/alignments/jobs.py