Skip to content

Commit

Permalink
lol bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Datseris committed Oct 10, 2018
1 parent 7d0b4d1 commit 2e562dc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/MotifSequenceGenerator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,9 @@ function random_sequence(motifs::Vector{M}, q,
count > tries && throw(DeadEndMotifs(tries, summands, tailcut))

seq, seq_length = _random_sequence_try(motiflens, q, δq)
if δq == 3
worked = _complete_sequence!(seq, motiflens, q, summands, tailcut)
else
worked = _complete_sequence!(seq, motiflens, q, δq, summands, tailcut)
end

worked = _complete_sequence!(seq, motiflens, q, δq, summands, tailcut)

count += 1
end

Expand Down

0 comments on commit 2e562dc

Please sign in to comment.