                                                      self.args.keep_original)
  
          # First create new directories to avoid checking
          # for directory existence in the moving loop
          print("Creating group directories.")
          for i in range(len(bins)):
              directory = os.path.join(output_dir, str(i))
              if not os.path.exists(directory):
                  os.makedirs(directory)
  
 
</s> remove     exclude_names = [os.path.basename(Path(x).stem[:Path(x).stem.rfind('_')] +
                                      Path(x).suffix) for x in exclude]
 </s> add  </s> remove             print("Aligned directory not found. All faces listed in the "
                  "alignments file will be converted")
 </s> add             logger.warning("Aligned directory not found. All faces listed in the "
                           "alignments file will be converted") </s> remove             print("Aligned directory not specified. All faces listed in the "
                  "alignments file will be converted")
 </s> add             logger.info("Aligned directory not specified. All faces listed in the "
                        "alignments file will be converted") </s> remove             print("Input directory {} not found.".format(self.args.input_dir))
 </s> add             logger.error("Input directory %s not found.", self.args.input_dir)
        logger.info("Creating group directories.")
                                                      self.args.keep_original)
  
          # First create new directories to avoid checking
          # for directory existence in the moving loop
        logger.info("Creating group directories.")
          for i in range(len(bins)):
              directory = os.path.join(output_dir, str(i))
              if not os.path.exists(directory):
                  os.makedirs(directory)
  
keep keep keep keep replace keep keep keep keep keep
 Logging (#541)

* Convert prints to logger. Further logging improvements. Tidy  up

* Fix system verbosity. Allow SystemExit

* Fix reload extract bug

* Child Traceback handling

* Safer shutdown procedure

* Add shutdown event to queue manager

* landmarks_as_xy > property. GUI notes + linting. Aligner bugfix

* fix FaceFilter. Enable nFilter when no Filter is supplied

* Fix blurry face filter

* Continue on IO error. Better error handling

* Explicitly print stack trace tocrash log

* Windows Multiprocessing bugfix

* Add git info and conda version to crash log

* Windows/Anaconda mp bugfix

* Logging fixes for training 
tools/sort.py