  
          img_list = getattr(self, sort_method)()
          if "group" in final_process:
              # Check if non-dissim sort method and group method are not the same
              if __sort_method.replace('-dissim', '') != __group_method:
                  img_list = self.reload_images(group_method, img_list)
                  img_list = getattr(self, group_method)(img_list)
              else:
                  img_list = getattr(self, group_method)(img_list)
  
 
</s> remove         if "group" in final_process:
 </s> add         if "group" in final_method: </s> remove         __sort_method = self.arguments.sort_method.lower()
        __group_method = self.arguments.group_method.lower()
        final_process = self.arguments.final_process.lower()

        # Assign the methods that will be used for processing the files
        sort_method = self.set_process_method("sort", __sort_method)
        group_method = self.set_process_method("group", __group_method)
        final_method = self.set_process_method("final_process", final_process)
 </s> add         sort_method = self.args.sort_method.lower()
        group_method = self.args.group_method.lower()
        final_method = self.args.final_process.lower() </s> remove         print ("Done.")
 </s> add         print("Done.") </s> remove                 self.arguments.min_threshold = 7.2
 </s> add                 self.args.min_threshold = 7.2 </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...")
            if group_method.replace('group_', '') not in sort_method:
  
          img_list = getattr(self, sort_method)()
          if "group" in final_process:
              # Check if non-dissim sort method and group method are not the same
            if group_method.replace('group_', '') not in sort_method:
                  img_list = self.reload_images(group_method, img_list)
                  img_list = getattr(self, group_method)(img_list)
              else:
                  img_list = getattr(self, group_method)(img_list)
  
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