Skip to content

Commit

Permalink
remove +1 from score index
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-combe committed Oct 9, 2023
1 parent 8ef061c commit 2d31796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xi2_xiview_loader/xi2_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def get_matches(cur, uuids, main_score_index):
print('Matches query:')
print(' '.join(sql.split()))
before = time()
cur.execute(sql, {'uuids': tuple(uuids), 'score_idx': main_score_index+1})
cur.execute(sql, {'uuids': tuple(uuids), 'score_idx': main_score_index})
after = time()
print(after - before)
matches = []
Expand Down

0 comments on commit 2d31796

Please sign in to comment.