              score_total = 0
              for j in range( 0, img_list_len):
                  if i == j:
                      continue
                  score_total += cv2.compareHist(img_list[i][1], img_list[j][1], cv2.HISTCMP_BHATTACHARYYA)
  
              img_list[i][2] = score_total
  
  
          print ("Sorting...")
 
</s> remove             for j in range( 0, img_list_len):
 </s> add             for j in range(0, img_list_len): </s> remove         for i in tqdm ( range(0, img_list_len), desc="Sorting", file=sys.stdout):
 </s> add         for i in tqdm(range(0, img_list_len), desc="Sorting", file=sys.stdout): </s> remove             for j in range( 0, img_list_len):
 </s> add             for j in range(0, img_list_len): </s> remove 
        print ("Sorting...")
 </s> add         print("Sorting...") </s> remove                 score_total += np.sum ( np.absolute ( (fl2 - fl1).flatten() ) )
 </s> add                 score_total += np.sum(np.absolute((fl2 - fl1).flatten()))
                score_total += cv2.compareHist(img_list[i][1],
                                               img_list[j][1],
                                               cv2.HISTCMP_BHATTACHARYYA)
              score_total = 0
              for j in range( 0, img_list_len):
                  if i == j:
                      continue
                score_total += cv2.compareHist(img_list[i][1],
                                               img_list[j][1],
                                               cv2.HISTCMP_BHATTACHARYYA)
  
              img_list[i][2] = score_total
  
  
          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