          """
          source_filenames = []
          dest_filenames = []
          # Force deterministic order on alignments dict for multi hash faces
          sorted_aligned = sorted([(frame, idx) for frame, idx in align_faces.items()])
          for disk_face, align_face in zip(disk_faces, sorted_aligned):
              extension = disk_face[1]
              src_fname = disk_face[0] + extension
  
              dst_frame = os.path.splitext(align_face[0])[0]
 
</s> remove         pbar = tqdm(desc="Building Rename Lists", total=self.faces.count)
        for disk_hash, disk_faces in self.faces.items.items():
            align_faces = self.alignments.hashes_to_frame.get(disk_hash, None)
 </s> add         pbar = tqdm(desc="Building Rename Lists", total=self._faces.count)
        for disk_hash, disk_faces in self._faces.items.items():
            align_faces = self._alignments.hashes_to_frame.get(disk_hash, None) </s> remove             # Set serializer based on logfile extension
            self.serializer = get_serializer_from_filename(self.args.log_file_path)
 </s> add             # Set serializer based on log file extension
            self.serializer = get_serializer_from_filename(self._args.log_file_path) </s> remove             frame_name, extension = os.path.splitext(filename)
 </s> add             basename = os.path.basename(filename)
            frame_name, extension = os.path.splitext(basename) </s> remove         _sort = "sort_" + self.args.sort_method.lower()
        _group = "group_" + self.args.group_method.lower()
        _final = "final_process_" + self.args.final_process.lower()
 </s> add         _sort = "sort_" + self._args.sort_method.lower()
        _group = "group_" + self._args.group_method.lower()
        _final = "final_process_" + self._args.final_process.lower()
        sorted_aligned = sorted(list(align_faces.items()))
          """
          source_filenames = []
          dest_filenames = []
          # Force deterministic order on alignments dict for multi hash faces
        sorted_aligned = sorted(list(align_faces.items()))
          for disk_face, align_face in zip(disk_faces, sorted_aligned):
              extension = disk_face[1]
              src_fname = disk_face[0] + extension
  
              dst_frame = os.path.splitext(align_face[0])[0]
keep keep keep keep replace keep keep keep keep keep
 Extract - Increase area and move centering (#1095)

* Extract
  - Implement aligner re-feeding
  - Add extract type to pipeline.ExtractMedia
  - Add pose annotation to debug
* Convert
  - implement centering
  - remove usage of feed and reference face properties
  - Remove distributed option from convert
  - Force update of alignments file on legacy receive
* Train
  - Resize preview image to model output size
  - Force legacy centering if centering does not exist in model's state file
  - Enable training on legacy face sets

* Alignments Tool
  - Update draw to include head/pose
  - Remove DFL drop + linting
  - Remove remove-frames job
  - remove align-eyes option
  - Update legacy masks to new extract type
  - Exit if attempting to merge version 1.0 alignments files with version 2.0 alignments files
  - Re-generate thumbnails on legacy upgrade
* Mask Tool
  - Update for new extract + bugfix full frame
* Manual Tool
  - Update to new extraction method
   - Disable legacy alignments,
   - extract box bugfix
   - extract faces - size to 512 and center on head
* Preview Tool
  - Display based on model centering
* Sort Tool
  - Use alignments for sort by face

* lib.aligner
  - Add Pose Class
  - Add AlignedFace Class
  - center _MEAN_FACE on x
  - Add meta information with versioning to alignments file
  - lib.aligner.get_align_matrix to use landmarks not face
  - Refactor aligned faces in lib.faces_detect
* lib.logger
  - larger file log padding
* lib.config
  - Fix global changeable_items
* lib.face_filter
  - Use new extracted face images
* lib.image
  - bump thumbnail default size to 96px 
tools/alignments/jobs.py