              print("ERROR: alignments file not "
                    "found at: {}".format(self.alignments_file))
              exit(0)
          if self.verbose:
              print("Alignments file exists at {}".format(self.alignments_file))
  
      def get_destination_format(self, destination_format):
          """ Standardise the destination format to the correct extension """
          extensions = {".json": "json",
                        ".p": "pickle",
 
</s> remove                   "found at: {}".format(self.alignments_file))
 </s> add                   "found at: {}".format(self.file)) </s> remove         if not os.path.isfile(self.alignments_file):
 </s> add         if os.path.split(self.file.lower())[1] == "dfl":
            self.file = "dfl"
        if self.file.lower() == "dfl":
            print("Using extracted pngs for alignments")
            return
        if not os.path.isfile(self.file): </s> remove     def process(self):
        """ Commmand to run if calling the reformat command """
        print("\n[REFORMAT ALIGNMENTS]")  # Tidy up cli output
        self.save_alignments()

    def check_alignments_file_exists(self):
 </s> add     def check_file_exists(self): </s> remove     def load_alignments(self):
 </s> add     def load(self): </s> remove         self.serializer = Serializer.get_serializer(self.destination_format)
 </s> add         self.serializer = Serializer.get_serializer(self.dst_format)
            print("Alignments file exists at {}".format(self.file))
        return

    def get_source_format(self):
        """ Get the source alignments format """
        if self.file.lower() == "dfl":
            return "dfl"
        return os.path.splitext(self.file)[1].lower()
              print("ERROR: alignments file not "
                    "found at: {}".format(self.alignments_file))
              exit(0)
          if self.verbose:
            print("Alignments file exists at {}".format(self.file))
        return

    def get_source_format(self):
        """ Get the source alignments format """
        if self.file.lower() == "dfl":
            return "dfl"
        return os.path.splitext(self.file)[1].lower()
  
      def get_destination_format(self, destination_format):
          """ Standardise the destination format to the correct extension """
          extensions = {".json": "json",
                        ".p": "pickle",
keep keep keep keep replace keep keep keep keep keep
 Alignments tool - Import from DeepFaceLab (#487)

* Import alignments from DeepFaceLab 
tools/alignments.py