  class Sort():
      """ Sort alignments' index by the order they appear in
          an image """
      def __init__(self, alignments, arguments):
          self.alignments = alignments
          self.axis = arguments.job.replace("sort-", "")
          self.faces = self.get_faces(arguments)
          logger.debug("Initialized %s", self.__class__.__name__)
  
 
</s> remove     @staticmethod
    def get_faces(arguments):
 </s> add     def get_faces(self, arguments): </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__)
        logger.debug("Initializing %s: (arguments: %s)", self.__class__.__name__, arguments)
  class Sort():
      """ Sort alignments' index by the order they appear in
          an image """
      def __init__(self, alignments, arguments):
        logger.debug("Initializing %s: (arguments: %s)", self.__class__.__name__, arguments)
          self.alignments = alignments
          self.axis = arguments.job.replace("sort-", "")
          self.faces = self.get_faces(arguments)
          logger.debug("Initialized %s", self.__class__.__name__)
  
keep keep keep add 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