                                        "file in a\n\tdifferent format. "
                                        "Specify a format with\n\tthe -fmt "
                                        "option.\n\tAlignments can be "
                                        "converted from\n\tDeepFaceLab by "
                                        "specifing:\n\t    -a dfl\n\t    -fr "
                                        "<source frame folder>\n\t    -fc "
                                        "<source faces folder>\n"
                                        "'remove': Remove deleted faces from "
                                        "an alignments\n\tfile. The original "
                                        "alignments file will be\n\tbacked up. "
                                        "A different file format for the\n\t"
 
</s> remove             if not self.validate_dfl(face, frames):
 </s> add             if face[1] != ".png":
                if self.verbose:
                    print("{} is not a png. "
                          "Skipping".format(face[0] + face[1])) </s> remove     def validate_dfl(self, face, frames):
        """ Validate that current file is good for dfl extraction """
        if face[1] != ".png":
            if self.verbose:
                print("{} is not a png. Skipping".format(face[0] + face[1]))
            return False
        if face[2] not in frames.keys():
            if self.verbose:
                print("{} does not have a matching source frame for {} in "
                      "frames directory. Skipping".format(face[0] + face[1],
                                                          face[2]))
            return False
        return True

 </s> add  </s> remove         frames = {item[0]: item[1]
                  for item in self.frames.values()}
 </s> add  </s> remove             self.alignments.file = os.path.join(self.frames_dir,
 </s> add             self.alignments.file = os.path.join(self.faces.folder, </s> remove             sourcefile = face[2] + frames[face[2]]
            self.convert_dfl_alignment(dfl, sourcefile, alignments)
 </s> add             self.convert_dfl_alignment(dfl, alignments)
                                      "specifing:\n\t    -a dfl\n\t    -fc "
                                        "file in a\n\tdifferent format. "
                                        "Specify a format with\n\tthe -fmt "
                                        "option.\n\tAlignments can be "
                                        "converted from\n\tDeepFaceLab by "
                                      "specifing:\n\t    -a dfl\n\t    -fc "
                                      "specifing:\n\t    -a dfl\n\t    -fc "
                                        "<source faces folder>\n"
                                        "'remove': Remove deleted faces from "
                                        "an alignments\n\tfile. The original "
                                        "alignments file will be\n\tbacked up. "
                                        "A different file format for the\n\t"
keep keep keep keep replace replace keep keep keep keep keep
 Small fix for alignments tool (#489)

* Remove frames requirement for dfl 
tools/cli.py