          self.save_alignments()
  
      def check_alignments_file_exists(self):
          """ Check the alignments file exists"""
          if not os.path.isfile(self.alignments_file):
              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))
 
</s> remove                   "found at: {}".format(self.alignments_file))
 </s> add                   "found at: {}".format(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             print("Alignments file exists at {}".format(self.alignments_file))
 </s> add             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() </s> remove         if not self.folder or not os.path.isdir(self.folder):
            print("ERROR: The folder {} could not "
                  "be found".format(self.folder))
 </s> add         err = None
        loadtype = self.__class__.__name__
        if not self.folder:
            err = "ERROR: A {} folder must be specified".format(loadtype)
        elif not os.path.isdir(self.folder):
            err = ("ERROR: The {} folder {} could not be "
                   "found".format(loadtype, self.folder))
        if err:
            print(err) </s> remove         if os.path.isdir(self.faces_dir):
 </s> add         elif os.path.isdir(self.faces_dir):
        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):
          self.save_alignments()
  
      def check_alignments_file_exists(self):
          """ Check the alignments file exists"""
        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):
              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))
keep keep keep keep replace keep keep keep keep keep
 Alignments tool - Import from DeepFaceLab (#487)

* Import alignments from DeepFaceLab 
tools/alignments.py