  
      def process(self):
          """ Run reformat """
          logger.info("[REFORMAT DFL ALIGNMENTS]")  # Tidy up cli output
          self.alignments.data = self.load_dfl()
          self.alignments.file = self.alignments.get_location(self.faces.folder, "alignments")
          self.alignments.save()
  
      def load_dfl(self):
          """ Load alignments from DeepFaceLab and format for Faceswap """
          alignments = dict()
 
</s> remove         """ Add DFL Alignments to alignments in Faceswap format """
 </s> add         """ Add Deep Face Lab Alignments to alignments in Faceswap format """ </s> remove             exit(0)
 </s> add             sys.exit(1) </s> remove     def load(self):
        """ Load the alignments data
            Override for custom loading logic """
 </s> add     def _load(self):
        """ Load the alignments data from the serialized alignments :attr:`file`.

        Returns
        -------
        dict:
            The loaded alignments data
        """ </s> remove             self.serializer = get_serializer("compressed")
            self.file = "{}.{}".format(filename.lower(), self.serializer.file_extension)
 </s> add             self._serializer = get_serializer("compressed")
            self.file = "{}.{}".format(filename.lower(), self._serializer.file_extension)
        self.alignments.data_from_dfl(self.load_dfl(), self.faces.folder)
  
      def process(self):
          """ Run reformat """
          logger.info("[REFORMAT DFL ALIGNMENTS]")  # Tidy up cli output
        self.alignments.data_from_dfl(self.load_dfl(), self.faces.folder)
        self.alignments.data_from_dfl(self.load_dfl(), self.faces.folder)
          self.alignments.save()
  
      def load_dfl(self):
          """ Load alignments from DeepFaceLab and format for Faceswap """
          alignments = dict()
keep keep keep keep replace replace keep keep keep keep keep
 lib.alignments - Slight update (#978)

* lib.alignments update:
  - Minor structure change (faces to nested dictionary)
  - Refactor internal and external methods
  - Documentation 
tools/lib_alignments/jobs.py