          if not self.have_alignments_file:
              raise FaceswapError("Error: Alignments file not found at "
                                  "{}".format(self.file))
  
          logger.info("Reading alignments from: '%s'", self.file)
          data = self.serializer.load(self.file)
          logger.debug("Loaded alignments")
          return data
  
      def reload(self):
          """ Read the alignments data from the correct format """
 
</s> remove                                 "{}".format(self.file))
 </s> add                                 "{}".format(self._file)) </s> remove     def reload(self):
        """ Read the alignments data from the correct format """
        logger.debug("Re-loading alignments")
        self.data = self.load()
        logger.debug("Re-loaded alignments")

 </s> add  </s> remove     def load(self):
        """ Load the alignments data
            Override for custom loading logic """
 </s> add     def _load(self):
        """ Load the alignments data from the serialized alignments :attr:`file`.

        Returns
        -------
        dict:
            The loaded alignments data
        """ </s> remove         data = self.serializer.load(self.file)
 </s> add         data = self._serializer.load(self.file)
        logger.info("Reading alignments from: '%s'", self._file)
        data = self._serializer.load(self._file)
          if not self.have_alignments_file:
              raise FaceswapError("Error: Alignments file not found at "
                                  "{}".format(self.file))
  
        logger.info("Reading alignments from: '%s'", self._file)
        data = self._serializer.load(self._file)
        logger.info("Reading alignments from: '%s'", self._file)
        data = self._serializer.load(self._file)
          logger.debug("Loaded alignments")
          return data
  
      def reload(self):
          """ Read the alignments data from the correct format """
keep keep keep keep replace replace keep keep keep keep keep
 lib.alignments - Slight update (#978)

* lib.alignments update:
  - Minor structure change (faces to nested dictionary)
  - Refactor internal and external methods
  - Documentation 
lib/alignments.py