      def merge_alignment(self, frame, alignment, idx):
          """ Merge the source alignment into the destination """
          logger.debug("Merging alignment: (frame: %s, src_idx: %s, hash: %s)",
                       frame, idx, alignment["hash"])
          self.hashes_to_frame.setdefault(alignment["hash"], dict())[frame] = idx
          self.final_alignments.data.setdefault(frame, list()).append(alignment)
  
      def set_destination_filename(self):
          """ Set the destination filename """
          folder = os.path.split(self.final_alignments.file)[0]
 
</s> remove                                                 desc="Renaming Faces",
                                                total=self.alignments.frames_count):
 </s> add                                                       desc="Renaming Faces",
                                                      total=self.alignments.frames_count): </s> remove         frames = set([item["frame_fullname"] for item in self.items])
 </s> add         frames = set(item["frame_fullname"] for item in self.items) </s> remove             face_filter = dict(detector=self.args.detector.replace("-", "_").lower(),
                               aligner=self.args.aligner.replace("-", "_").lower(),
 </s> add             if hasattr(self.args, "detector"):
                detector = self.args.detector.replace("-", "_").lower()
            else:
                detector = "cv2_dnn"
            if hasattr(self.args, "aligner"):
                aligner = self.args.aligner.replace("-", "_").lower()
            else:
                aligner = "cv2_dnn"

            face_filter = dict(detector=detector,
                               aligner=aligner,
        self._hashes_to_frame.setdefault(alignment["hash"], dict())[frame] = idx
      def merge_alignment(self, frame, alignment, idx):
          """ Merge the source alignment into the destination """
          logger.debug("Merging alignment: (frame: %s, src_idx: %s, hash: %s)",
                       frame, idx, alignment["hash"])
        self._hashes_to_frame.setdefault(alignment["hash"], dict())[frame] = idx
          self.final_alignments.data.setdefault(frame, list()).append(alignment)
  
      def set_destination_filename(self):
          """ Set the destination filename """
          folder = os.path.split(self.final_alignments.file)[0]
keep keep keep keep replace keep keep keep keep keep
 Bugfixes

Merge Alignments fix
Face Filter. Set default aligner/detector on convert 
tools/lib_alignments/jobs.py