              logger.trace("Updating mask centering for frame '%s', face index: %s, version: %s",
                           frame_name, face_index, version)
              self._update_mask_centering(alignment)
  
          logger.trace("Extracted alignment for frame: '%s', face index: %s", 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.
 
</s> remove             logger.trace("Updating mask centering for frame '%s', face index: %s, version: %s",
                         frame_name, face_index, version)
 </s> add             logger.trace("Updating mask centering for frame '%s', face index: %s, "  # type:ignore
                         "version: %s", frame_name, face_index, version) </s> remove                            alignment: dict,
 </s> add                            alignment: AlignmentFileDict, </s> remove         logger.trace("frame: '%s', total_faces: %s, valid_faces: %s",
 </s> add         logger.trace("frame: '%s', total_faces: %s, valid_faces: %s",  # type:ignore </s> remove     def _extract_alignment(self, metadata: dict) -> Tuple[str, int, dict]:
 </s> add     def _extract_alignment(self, metadata: dict) -> Tuple[str, int, AlignmentFileDict]:
        logger.trace("Extracted alignment for frame: '%s', face index: %s",  # type:ignore
                     frame_name, face_index)
              logger.trace("Updating mask centering for frame '%s', face index: %s, version: %s",
                           frame_name, face_index, version)
              self._update_mask_centering(alignment)
  
        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.
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Alignments tool - don't error on from-faces job 
tools/alignments/jobs.py