mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-22 13:29:56 +00:00
Fix reference(::Variation)
`reference(::Variation)` used the wrong field name. Fix that so I can use it downstream.
This commit is contained in:
parent
ece50c1ee9
commit
a80ff869ce
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ function Variation(ref::S, edit::AbstractString) where {S<:BioSequence}
|
|||
return Variation{S,T}(ref, e)
|
||||
end
|
||||
|
||||
reference(v::Variation) = v.reference
|
||||
reference(v::Variation) = v.ref
|
||||
edit(v::Variation) = v.edit
|
||||
mutation(v::Variation) = mutation(edit(v))
|
||||
BioGenerics.leftposition(v::Variation) = leftposition(edit(v))
|
||||
|
|
Loading…
Reference in a new issue