Commit 1e815e97 authored by Roman Sarrazin-Gendron's avatar Roman Sarrazin-Gendron
Browse files

fixed compatibility with python 3.8

parent d931893c
......@@ -658,7 +658,7 @@ def seq_to_struct(
#used to do 0.4,0.6,0.8,1 for paper run
for subseq in [0.4,0.6,0.8,1]:
this_seq = seq[0:int(len(seq) * subseq)]
r = regex.compile(res[index],flag=regex.BESTMATCH)
r = regex.compile(res[index],flag=regex.BESTMATCH,ignore_unused=True)
iters = r.finditer(str(this_seq), overlapped=True)
for a in iters:
if a == None:
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