                  chunk_length, chunk_name = struct.unpack("!I4s", chunk_hdr)
                  dfl.seek(chunk_start, os.SEEK_SET)
                  if chunk_name == b"fcWp":
                      chunk = dfl.read(chunk_length + 12)
                      return pickle.loads(chunk[8:-4])
                  dfl.seek(chunk_length+12, os.SEEK_CUR)
              logger.error("Couldn't find DFL alignments: %s", filename)
  
      @staticmethod
      def convert_dfl_alignment(dfl_alignments, alignments):
 
</s> remove     def convert_dfl_alignment(dfl_alignments, alignments):
 </s> add     def convert_dfl_alignment(dfl_alignments, f_hash, alignments): </s> remove         if not alignments.get(sourcefile, None):
            alignments[sourcefile] = list()

 </s> add  </s> remove         if self.alignments.file == "dfl":
            self.faces = Faces(arguments.faces_dir, dfl=True)
 </s> add         if self.alignments.file == "dfl.json":
            logger.debug("Loading DFL faces")
            self.faces = Faces(arguments.faces_dir)
        logger.debug("Initialized %s", self.__class__.__name__)
                    retval = pickle.loads(chunk[8:-4])
                    logger.trace("Loaded DFL Alignment: (filename: '%s', alignment: %s",
                                 filename, retval)
                    return retval
                  chunk_length, chunk_name = struct.unpack("!I4s", chunk_hdr)
                  dfl.seek(chunk_start, os.SEEK_SET)
                  if chunk_name == b"fcWp":
                      chunk = dfl.read(chunk_length + 12)
                    retval = pickle.loads(chunk[8:-4])
                    logger.trace("Loaded DFL Alignment: (filename: '%s', alignment: %s",
                                 filename, retval)
                    return retval
                  dfl.seek(chunk_length+12, os.SEEK_CUR)
              logger.error("Couldn't find DFL alignments: %s", filename)
  
      @staticmethod
      def convert_dfl_alignment(dfl_alignments, alignments):
keep keep keep keep replace keep keep keep keep keep
 Add Face Hashes to Alignments (#550)

* Convert main scripts to use face hashes

* Alignment tool: Use hashes, add logging, add face rename function

* More logging. Update Manual tool to work with hashing 
tools/lib_alignments/jobs.py