asigalov61 commited on
Commit
7a2f766
1 Parent(s): 92e004d

Upload TMIDIX.py

Browse files
Files changed (1) hide show
  1. TMIDIX.py +2 -2
TMIDIX.py CHANGED
@@ -6726,12 +6726,12 @@ def escore_matrix_to_merged_escore_notes(escore_matrix,
6726
 
6727
  else:
6728
  if count > 1:
6729
- result.append([i-count, count, j, escore_matrix[i-1][j]])
6730
 
6731
  count = 1
6732
 
6733
  if count > 1:
6734
- result.append([len(escore_matrix)-count, count, j, escore_matrix[-1][j]])
6735
 
6736
  result.sort(key=lambda x: (x[0], -x[2]))
6737
 
 
6726
 
6727
  else:
6728
  if count > 1:
6729
+ result.append([i-count, count-1, j, escore_matrix[i-1][j]])
6730
 
6731
  count = 1
6732
 
6733
  if count > 1:
6734
+ result.append([len(escore_matrix)-count, count-1, j, escore_matrix[-1][j]])
6735
 
6736
  result.sort(key=lambda x: (x[0], -x[2]))
6737