          logger.trace("Extracted alignment for frame: '%s', face index: %s",  # type:ignore
                       frame_name, face_index)
          return frame_name, face_index, alignment
  
      @classmethod
      def _update_mask_centering(cls, alignment: dict) -> None:
          """ Prior to alignment version 2.2 all masks were stored with face centering.
  
          Update the existing masks with correct centering parameter.
  
          Parameters
          ----------
          alignment: dict
              The alignment for the face to have the mask centering parameter updated
          """
          if "mask" not in alignment:
              alignment["mask"] = {}
          for mask in alignment["mask"].values():
              mask["stored_centering"] = "face"
  
      def _sort_alignments(self,
                           alignments: Dict[str, Dict[str, List[Tuple[int,
                                                                      "AlignmentFileDict",
                                                                      str,
                                                                      dict]]]]
 
</s> remove         version = src["alignments_version"]

        if version < 2.2:
            logger.trace("Updating mask centering for frame '%s', face index: %s, "  # type:ignore
                         "version: %s", frame_name, face_index, version)
            self._update_mask_centering(alignment)
 </s> add  </s> remove         alignment = metadata["itxt"]["alignments"]
 </s> add         alignment = metadata["alignments"] </s> remove                          ) -> Dict[str, Dict[str, List["AlignmentFileDict"]]]:
 </s> add                          ) -> Dict[str, Dict[str, "AlignmentDict"]]: </s> remove         skip_count = 0
 </s> add         all_versions: Dict[str, List[float]] = {} </s> remove         aln_sorted: Dict[str, Dict[str, List["AlignmentFileDict"]]] = {}
 </s> add         aln_sorted: Dict[str, Dict[str, "AlignmentDict"]] = {}
          logger.trace("Extracted alignment for frame: '%s', face index: %s",  # type:ignore
                       frame_name, face_index)
          return frame_name, face_index, alignment
  
















      def _sort_alignments(self,
                           alignments: Dict[str, Dict[str, List[Tuple[int,
                                                                      "AlignmentFileDict",
                                                                      str,
                                                                      dict]]]]
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 alignments tool - Remove-face - Minor update 
tools/alignments/jobs_faces.py