Skip to content

Commit

Permalink
Minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
standage committed Nov 9, 2018
1 parent 3a5edb4 commit 7f32e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kevlar/alac.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def alac(pstream, refrfile, threads=1, ksize=31, bigpart=10000, delta=50,
mask = khmer.Nodetable(ksize, buckets, numtables)
for call in allcalls:
window = call.attribute('ALTWINDOW')
if window is not None:
if window is not None and len(window) >= ksize:
mask.consume(window)
mask.save(maskfile)
for call in allcalls:
Expand Down

0 comments on commit 7f32e70

Please sign in to comment.