Commit 9100e148 by Celine Mercier

obi uniq: quick fix for bug where some sequences are not correctly

dereplicated
parent ccda0661
......@@ -307,7 +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.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:
......@@ -453,6 +454,7 @@ cdef uniq_sequences(View_NUC_SEQS view, View_NUC_SEQS o_view, ProgressBar pb, di
merged_dict[mkey] = {}
for i_idx in merged_sequences:
PyErr_CheckSignals()
pb(total_treated)
i_id = i_id_col[i_idx]
......
major = 3
minor = 0
serial= '0b26a'
serial= '0b26b'
version ="%d.%d.%s" % (major,minor,serial)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment