From 74363b55056d1c8d6ec903ff3fec7492dd78e473 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Wed, 6 Nov 2024 11:06:39 -0600 Subject: [PATCH] wip: Remove includes from Edit.jl --- src/Edit.jl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Edit.jl b/src/Edit.jl index 212f7d5..44b8c3a 100644 --- a/src/Edit.jl +++ b/src/Edit.jl @@ -1,7 +1,3 @@ -include("edits/Substitution.jl") -include("edits/Deletion.jl") -include("edits/Insertion.jl") - """ Edit{S <: BioSequence, T <: BioSymbol} @@ -100,6 +96,7 @@ end BioGenerics.leftposition(s::SubstitutionEdit) = s.position BioGenerics.rightposition(s::SubstitutionEdit) = leftposition(s) _lendiff(s::SubstitutionEdit) = 0 +_base(s::SubstitutionEdit) = s.base function Base.parse(::Type{T}, s::AbstractString) where {T<:Edit{Se,Sy}} where {Se,Sy} return parse(T, String(s))