          dict
              The alignments file dictionaries sorted into the correct face order, ready for savind
          """
          logger.info("Sorting and checking faces...")
          aln_sorted = {}
          for fname, frames in alignments.items():
              this_file = {}
              for frame in tqdm(sorted(frames), desc=f"Sorting {fname}", leave=False):
                  this_file[frame] = []
                  for real_idx, (f_id, alignment, f_path, f_src) in enumerate(sorted(frames[frame])):
 
</s> remove             this_file = {}
 </s> add             this_file: Dict[str, List[AlignmentFileDict]] = {} </s> remove             The alignments file dictionaries sorted into the correct face order, ready for savind
 </s> add             The alignments file dictionaries sorted into the correct face order, ready for saving </s> remove         d_align = {}
 </s> add         d_align: Dict[str, Dict[str, List[Tuple[int, AlignmentFileDict, str, dict]]]] = {} </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         logger.trace("Annotating frame: '%s'", frame_name)
 </s> add         logger.trace("Annotating frame: '%s'", frame_name)  # type:ignore
        aln_sorted: Dict[str, Dict[str, List[AlignmentFileDict]]] = {}
          dict
              The alignments file dictionaries sorted into the correct face order, ready for savind
          """
          logger.info("Sorting and checking faces...")
        aln_sorted: Dict[str, Dict[str, List[AlignmentFileDict]]] = {}
          for fname, frames in alignments.items():
              this_file = {}
              for frame in tqdm(sorted(frames), desc=f"Sorting {fname}", leave=False):
                  this_file[frame] = []
                  for real_idx, (f_id, alignment, f_path, f_src) in enumerate(sorted(frames[frame])):
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Alignments tool - don't error on from-faces job 
tools/alignments/jobs.py