              self.update_legacy_landmarksxy()
              updated = True
          if self.has_legacy_landmarks_list():
              logger.info("Updating legacy landmarks from list to numpy array")
              self.update_legacy_landmarks_list()
              updated = True
          if updated:
              self.save()
  
      # <File Format> #
 
</s> remove         if self.has_legacy_landmarks_list():
 </s> add         if self._has_legacy_landmarks_list(): </s> remove             self.update_legacy_landmarksxy()
 </s> add             self._update_legacy_landmarksxy() </s> remove         if self.has_legacy_landmarksxy():
 </s> add         if self._has_legacy_structure():
            self._update_legacy_structure()

        if self._has_legacy_landmarksxy(): </s> remove     def update_legacy(self):
        """ Update legacy alignments """
 </s> add     def _update_legacy(self):
        """ Check whether the alignments are legacy, and if so update them to current alignments
        format. """ </s> remove     # Serializer is now a compressed pickle .fsa format. This used to be any number of serializers
    def test_for_legacy(self, location):
        """ For alignments filenames passed in with out an extension, test for legacy formats """
 </s> add     # Serializer is now a compressed pickle custom format. This used to be any number
    # of serializers
    def _test_for_legacy(self, location):
        """ For alignments filenames passed in without an extension, test for legacy
        serialization formats and update to current ``.fsa`` format if any are found.

        Parameters
        ----------
        location: str
            The folder location to check for legacy alignments
        """
            self._update_legacy_landmarks_list()
              self.update_legacy_landmarksxy()
              updated = True
          if self.has_legacy_landmarks_list():
              logger.info("Updating legacy landmarks from list to numpy array")
            self._update_legacy_landmarks_list()
              updated = True
          if updated:
              self.save()
  
      # <File Format> #
keep keep keep keep 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