              self.type = "frames"
              source_dir = arguments.frames_dir
          else:
              logger.error("No source folder (-fr or -fc) was provided")
              exit(0)
          logger.debug("type: '%s', source_dir: '%s'", self.type, source_dir)
          return source_dir
  
      def get_items(self):
          """ Set the correct items to process """
 
</s> remove             exit(0)
 </s> add             sys.exit(1) </s> remove         self.final_alignments.data.setdefault(frame, list()).append(alignment)
 </s> add         self.final_alignments.data.setdefault(frame,
                                              dict()).setdefault("faces", []).append(alignment) </s> remove             exit(0)
 </s> add             sys.exit(1) </s> remove             exit(0)
 </s> add             sys.exit(0)
            sys.exit(1)
              self.type = "frames"
              source_dir = arguments.frames_dir
          else:
              logger.error("No source folder (-fr or -fc) was provided")
            sys.exit(1)
          logger.debug("type: '%s', source_dir: '%s'", self.type, source_dir)
          return source_dir
  
      def get_items(self):
          """ Set the correct items to process """
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 
tools/lib_alignments/jobs.py