              err = f"ERROR: Output faces folder should be empty: '{self._faces_dir}'"
          if err:
              logger.error(err)
              sys.exit(0)
          logger.verbose("Creating output folder at '%s'", self._faces_dir)
  
      def _legacy_check(self) -> None:
          """ Check whether the alignments file was created with the legacy extraction method.
  
          If so, force user to re-extract all faces if any options have been specified, otherwise
 
</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("Renaming '%s' to '%s'", old, new)
 </s> add                 logger.verbose("Renaming '%s' to '%s'", old, new)  # type:ignore </s> remove         d_align = {}
 </s> add         d_align: Dict[str, Dict[str, List[Tuple[int, AlignmentFileDict, str, dict]]]] = {} </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 reindex_faces(self) -> None:
 </s> add     def reindex_faces(self) -> int:
        logger.verbose("Creating output folder at '%s'", self._faces_dir)  # type:ignore
              err = f"ERROR: Output faces folder should be empty: '{self._faces_dir}'"
          if err:
              logger.error(err)
              sys.exit(0)
        logger.verbose("Creating output folder at '%s'", self._faces_dir)  # type:ignore
  
      def _legacy_check(self) -> None:
          """ Check whether the alignments file was created with the legacy extraction method.
  
          If so, force user to re-extract all faces if any options have been specified, otherwise
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Alignments tool - don't error on from-faces job 
tools/alignments/jobs.py