          print ("Done.")
  
      # Methods for sorting
      def sort_blur(self):
          input_dir = self.arguments.input_dir
  
          print ("Sorting by blur...")
          img_list = [ [x, self.estimate_blur(cv2.imread(x))] for x in tqdm(self.find_images(input_dir), desc="Loading", file=sys.stdout) ]
          print ("Sorting...")
  
 
</s> remove         print ("Sorting by blur...")
        img_list = [ [x, self.estimate_blur(cv2.imread(x))] for x in tqdm(self.find_images(input_dir), desc="Loading", file=sys.stdout) ]
        print ("Sorting...")
 </s> add         print("Sorting by blur...")
        img_list = [[x, self.estimate_blur(cv2.imread(x))]
                    for x in
                    tqdm(self.find_images(input_dir), desc="Loading", file=sys.stdout)]
        print("Sorting...") </s> remove         print ("Done.")
 </s> add         print("Done.") </s> remove        
        input_dir = self.arguments.input_dir
 </s> add  </s> remove         
        input_dir = self.arguments.input_dir
 </s> add  </s> remove         img_list = [ [x, cv2.calcHist([cv2.imread(x)], [0], None, [256], [0, 256]) ] for x in tqdm( self.find_images(input_dir), desc="Loading", file=sys.stdout) ]
 </s> add         img_list = [
            [x, cv2.calcHist([cv2.imread(x)], [0], None, [256], [0, 256])]
            for x in
            tqdm(self.find_images(input_dir), desc="Loading", file=sys.stdout)
        ]
        input_dir = self.args.input_dir
          print ("Done.")
  
      # Methods for sorting
      def sort_blur(self):
        input_dir = self.args.input_dir
  
          print ("Sorting by blur...")
          img_list = [ [x, self.estimate_blur(cv2.imread(x))] for x in tqdm(self.find_images(input_dir), desc="Loading", file=sys.stdout) ]
          print ("Sorting...")
  
keep keep keep keep replace keep keep keep keep keep
 GUI v0.2.1b (#352)

* Code refactor

* Console Added

* Add graphing with matplotlib

* Add GUI preview support

* Improve import handling.

* Add GUI integration for tools.py (Launch tools.py with the gui command)

* Reformat to conform to PEP8.

* Add Tooltips, 

* Make panels user adjustable

* Fix convert.py Sharpen default value 
tools/sort.py