amandaclare / lyndon-factors

2 stars 0 forks source link

Error executing simple sequence #2

Closed albertiniufu closed 4 years ago

albertiniufu commented 4 years ago

Running file created the following way:

echo -e ">longA\naaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" > as.fna

I get the error:

Traceback (most recent call last): File "enhanced_factors.py", line 345, in r = alg1(s, m, no_backtrack = True) File "enhanced_factors.py", line 255, in alg1 good = assign_to_Xs(m, facs, Xs) File "enhanced_factors.py", line 197, in assign_to_Xs (e, X_vals) = next(sorted_exponents) StopIteration

amandaclare commented 4 years ago

Sorry, that was a bug. Thanks for finding it! Now hopefully fixed and pushed.