      def process(self) -> None:
          """ Run the job to read faces from a folder to create alignments file(s). """
          logger.info("[CREATE ALIGNMENTS FROM FACES]")  # Tidy up cli output
          skip_count = 0
          d_align = {}
          for filename, meta in tqdm(read_image_meta_batch(self._filelist),
                                     desc="Generating Alignments",
                                     total=len(self._filelist),
                                     leave=False):
  
 
</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: </s> remove                 logger.verbose("skipping invalid file: '%s'", filename)
 </s> add                 logger.verbose("skipping invalid file: '%s'", filename)  # type:ignore </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         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())

        d_align: Dict[str, Dict[str, List[Tuple[int, AlignmentFileDict, str, dict]]]] = {}
      def process(self) -> None:
          """ Run the job to read faces from a folder to create alignments file(s). """
          logger.info("[CREATE ALIGNMENTS FROM FACES]")  # Tidy up cli output
          skip_count = 0
        d_align: Dict[str, Dict[str, List[Tuple[int, AlignmentFileDict, str, dict]]]] = {}
          for filename, meta in tqdm(read_image_meta_batch(self._filelist),
                                     desc="Generating Alignments",
                                     total=len(self._filelist),
                                     leave=False):
  
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Alignments tool - don't error on from-faces job 
tools/alignments/jobs.py