Skip to content

Commit

Permalink
Fixed improper argument format for pushfirst!
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcgrath325 committed Apr 29, 2024
1 parent e60e8fa commit ae16c00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/imaginesignal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,8 @@ function prepend!(com::ImagineSignal{T}, seqname::AbstractString, sequence::T) w
#TODO: run safety checks here
@assert full_length(sequence) >= 1
add_sequence!(com, seqname, sequence)
pushfirst!(sequences(com), [sequence])
pushfirst!(sequence_names(com), [seqname])
pushfirst!(sequences(com), sequence)
pushfirst!(sequence_names(com), seqname)
com.cumlength .+= full_length(sequence)
pushfirst!(com.cumlength, full_length(sequence))
return com
Expand Down

0 comments on commit ae16c00

Please sign in to comment.