From c39ae6deb2cd4c73086f0c16a2830934f556a46c Mon Sep 17 00:00:00 2001 From: Karl Dyrhage Date: Tue, 12 Nov 2024 15:35:28 +0100 Subject: [PATCH] Fixed typo in Locus(s) --- src/record.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/record.jl b/src/record.jl index 8ddaaac..f3e9c07 100644 --- a/src/record.jl +++ b/src/record.jl @@ -503,7 +503,7 @@ function Locus(s::T) where T <: AbstractString return PointLocus(parse(Int, m[1]), BetweenNucleotides) end ### Span - m = match(r"^(?)(\d+)$", s) + m = match(r"^(?)(\d+)$", s) if !isnothing(m) p = parse(Int, m[2]):parse(Int, m[4]) type = if all(isempty, m.captures[[1,3]])