mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-25 22:59:56 +00:00
Mark lendiff(::Edit)
as private API
This commit is contained in:
parent
e8457e4241
commit
2719c438f3
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ function BioGenerics.rightposition(e::Edit)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function lendiff(edit::Edit)
|
function _lendiff(edit::Edit)
|
||||||
x = _mutation(edit)
|
x = _mutation(edit)
|
||||||
# Each edit type has logic for its length, we just need to know what direction to go
|
# Each edit type has logic for its length, we just need to know what direction to go
|
||||||
multiplier = x isa Substitution ? 0 : (x isa Deletion ? -1 : 1)
|
multiplier = x isa Substitution ? 0 : (x isa Deletion ? -1 : 1)
|
||||||
|
|
Loading…
Reference in a new issue