C: AVL trees: fixed a bug where storing the difference between 2 crc64

values in an int64 would mess trees up resulting in failed data
dereplication
This commit is contained in:
Celine Mercier
2020-07-07 16:47:00 +02:00
parent 9100e14899
commit a3ebe5f118
2 changed files with 16 additions and 4 deletions

View File

@ -307,8 +307,8 @@ cdef uniq_sequences(View_NUC_SEQS view, View_NUC_SEQS o_view, ProgressBar pb, di
for x in categories :
catl.append(i_seq[x])
unique_id = tuple(catl) + (i_seq_col[i],)
#unique_id = tuple(catl) + (i_seq_col.get_line_idx(i),)
#unique_id = tuple(catl) + (i_seq_col[i],)
unique_id = tuple(catl) + (i_seq_col.get_line_idx(i),)
#unique_id = tuple(i_seq[x] for x in categories) + (seq_col.get_line_idx(i),) # The line that cython can't read properly
if unique_id in uniques: