          kwargs = {}
          if alignments.version < 2.1:
              # Update headers of faces generated with hash based alignments
              kwargs["alignments"] = alignments
          self._faces = faces if faces else Faces(arguments.faces_dir, **kwargs)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def process(self) -> None:
          """ Process the face renaming """
          logger.info("[RENAME FACES]")  # Tidy up cli output
 
</s> remove         d_align = {}
 </s> add         d_align: Dict[str, Dict[str, List[Tuple[int, AlignmentFileDict, str, dict]]]] = {} </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         logger.verbose("Creating output folder at '%s'", self._faces_dir)
 </s> add         logger.verbose("Creating output folder at '%s'", self._faces_dir)  # type:ignore </s> remove         logger.trace("Outputting frame: %s", filename)
 </s> add         logger.trace("Outputting frame: %s", filename)  # type:ignore
        if faces:
            self._faces = faces
        else:
            assert arguments is not None
            self._faces = Faces(arguments.faces_dir, **kwargs)
          kwargs = {}
          if alignments.version < 2.1:
              # Update headers of faces generated with hash based alignments
              kwargs["alignments"] = alignments
        if faces:
            self._faces = faces
        else:
            assert arguments is not None
            self._faces = Faces(arguments.faces_dir, **kwargs)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def process(self) -> None:
          """ Process the face renaming """
          logger.info("[RENAME FACES]")  # Tidy up cli output
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Alignments tool - don't error on from-faces job 
tools/alignments/jobs.py