      @classmethod
      def _update_png_header(cls,
                             face_path: str,
                             new_index: int,
                             alignment: dict,
                             source_info: dict) -> None:
          """ Update the PNG header for faces where the stored index does not correspond with the
          alignments file. This can occur when frames with multiple faces have had some faces deleted
          from the faces folder.
  
 
</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         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         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         logger.trace("Extracted alignment for frame: '%s', face index: %s", frame_name, face_index)
 </s> add         logger.trace("Extracted alignment for frame: '%s', face index: %s",  # type:ignore
                     frame_name, face_index) </s> remove             logger.trace("Returning: '%s'", filename)
 </s> add             logger.trace("Returning: '%s'", filename)  # type:ignore
                           alignment: AlignmentFileDict,
      @classmethod
      def _update_png_header(cls,
                             face_path: str,
                             new_index: int,
                           alignment: AlignmentFileDict,
                             source_info: dict) -> None:
          """ Update the PNG header for faces where the stored index does not correspond with the
          alignments file. This can occur when frames with multiple faces have had some faces deleted
          from the faces folder.
  
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Alignments tool - don't error on from-faces job 
tools/alignments/jobs.py