  
      # Methods for grouping
      def group_blur(self, img_list):
          # Starting the binning process
          num_bins = self.arguments.num_bins
  
          # The last bin will get all extra images if it's
          # not possible to distribute them evenly
          num_per_bin = len(img_list) // num_bins
          remainder = len(img_list) % num_bins
 
</s> remove         print ("Grouping by blur...")
        bins = [ [] for _ in range(num_bins) ]
 </s> add         print("Grouping by blur...")
        bins = [[] for _ in range(num_bins)] </s> remove         output_dir = self.arguments.output_dir
 </s> add         output_dir = self.args.output_dir </s> remove         process_file = self.set_process_file_method(self.arguments.log_changes, self.arguments.keep_original)
 </s> add         process_file = self.set_process_file_method(self.args.log_changes,
                                                    self.args.keep_original) </s> remove 
        print ("Sorting...")
 </s> add         print("Sorting...") </s> remove         min_threshold = self.arguments.min_threshold
 </s> add         min_threshold = self.args.min_threshold
        num_bins = self.args.num_bins
  
      # Methods for grouping
      def group_blur(self, img_list):
          # Starting the binning process
        num_bins = self.args.num_bins
  
          # The last bin will get all extra images if it's
          # not possible to distribute them evenly
          num_per_bin = len(img_list) // num_bins
          remainder = len(img_list) % num_bins
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