Skip to content

Commit

Permalink
Fixes #19
Browse files Browse the repository at this point in the history
  • Loading branch information
kdyrhage committed Nov 22, 2024
1 parent f9aa89b commit d393965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GenBank/writer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ function printgbk(io::IO, chr::C) where {C <: Record}
end


function formatsequence(sequence, io = IOBuffer)
p = length(string(length(sequence))) + 2
function formatsequence(sequence, io)
p = 9
if length(sequence) > 60
intervals = [i:i+60 for i in range(1; step = 60, stop = length(sequence)-60)]
for interval in intervals
Expand Down

0 comments on commit d393965

Please sign in to comment.