          blur_map = cv2.Laplacian(image, cv2.CV_64F)
          score = np.var(blur_map)
          return score
  
      @staticmethod
      def set_process_method(prefix, method):
          _method = re.sub(r'-', r'_', method)
          return prefix + "_" + _method
  
      @staticmethod
      def set_process_file_method(log_changes, keep_original):
          """
          Assigns the final file processing method based on whether changes are
          being logged and whether the original files are being kept in the
 
</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             score = np.sum ( np.absolute ( (fl2 - fl1).flatten() ) )
 </s> add             score = np.sum(np.absolute((fl2 - fl1).flatten())) </s> remove                     j_min_score = j            
            img_list[i+1], img_list[j_min_score] = img_list[j_min_score], img_list[i+1]
            
 </s> add                     j_min_score = j
            img_list[i + 1], img_list[j_min_score] = img_list[j_min_score], img_list[i + 1]
 </s> remove             img_list[i+1], img_list[j_min_score] = img_list[j_min_score], img_list[i+1]
 </s> add             img_list[i + 1], img_list[j_min_score] = img_list[j_min_score], img_list[i + 1] </s> remove             img_list[i+1], img_list[j_min_score] = img_list[j_min_score], img_list[i+1]
 </s> add             img_list[i + 1], img_list[j_min_score] = img_list[j_min_score], img_list[i + 1]
          blur_map = cv2.Laplacian(image, cv2.CV_64F)
          score = np.var(blur_map)
          return score
  





      @staticmethod
      def set_process_file_method(log_changes, keep_original):
          """
          Assigns the final file processing method based on whether changes are
          being logged and whether the original files are being kept in the
keep keep keep keep replace replace replace replace 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