mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-22 05:19:55 +00:00
Replace field accession with getter function usage
This commit is contained in:
parent
dd405c5f4b
commit
ef4460bbbf
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ reference(v::Variant) = v.ref
|
|||
Base.:(==)(x::Variant, y::Variant) = x.ref == y.ref && x.edits == y.edits
|
||||
|
||||
function reconstruct!(seq::S, x::Variant{S}) where {S}
|
||||
len = length(x.ref) + sum(edit -> lendiff(edit), x.edits)
|
||||
len = length(x.ref) + sum(edit -> _lendiff(edit), _edits(x))
|
||||
resize!(seq, len % UInt)
|
||||
refpos = seqpos = 1
|
||||
for edit in x.edits
|
||||
|
|
Loading…
Reference in a new issue