          logger.info("[EXTRACT FACES]")  # Tidy up cli output
          self.check_folder()
          self.export_faces()
  
      def check_folder(self):
          """ Check that the faces folder doesn't pre-exist
              and create """
          err = None
          if not self.faces_dir:
              err = "ERROR: Output faces folder not provided."
          elif not os.path.isdir(self.faces_dir):
              logger.debug("Creating folder: '%s'", self.faces_dir)
 
</s> remove         if not self.faces_dir:
 </s> add         if not self._faces_dir: </s> remove         self.check_folder()
        self.export_faces()
 </s> add         self._check_folder()
        self._export_faces() </s> remove         elif not os.path.isdir(self.faces_dir):
            logger.debug("Creating folder: '%s'", self.faces_dir)
            os.makedirs(self.faces_dir)
        elif os.listdir(self.faces_dir):
            err = "ERROR: Output faces folder should be empty: '{}'".format(self.faces_dir)
 </s> add         elif not os.path.isdir(self._faces_dir):
            logger.debug("Creating folder: '%s'", self._faces_dir)
            os.makedirs(self._faces_dir)
        elif os.listdir(self._faces_dir):
            err = "ERROR: Output faces folder should be empty: '{}'".format(self._faces_dir) </s> remove         """ Run extraction """
 </s> add         """ Run the re-extraction from Alignments file process""" </s> remove         logger.verbose("Creating output folder at '%s'", self.faces_dir)
 </s> add         logger.verbose("Creating output folder at '%s'", self._faces_dir)
    def _check_folder(self):
        """ Check that the faces folder doesn't pre-exist and create. """
          logger.info("[EXTRACT FACES]")  # Tidy up cli output
          self.check_folder()
          self.export_faces()
  
    def _check_folder(self):
        """ Check that the faces folder doesn't pre-exist and create. """
    def _check_folder(self):
        """ Check that the faces folder doesn't pre-exist and create. """
    def _check_folder(self):
        """ Check that the faces folder doesn't pre-exist and create. """
          err = None
          if not self.faces_dir:
              err = "ERROR: Output faces folder not provided."
          elif not os.path.isdir(self.faces_dir):
              logger.debug("Creating folder: '%s'", self.faces_dir)
keep keep keep keep replace replace replace keep keep keep keep keep
 lib.alignments: improve re-extraction speed by 500% 
tools/lib_alignments/jobs.py