Skip to content

Commit

Permalink
fix for empty SSC
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-small committed Dec 12, 2024
1 parent 15879d4 commit 9bde8b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/restructure.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ function flip!(
result::ChloeAnnotation,
fliprange::UnitRange{<:Integer}
)::Tuple{FwdRev{CircularSequence},ChloeAnnotation}
length(fliprange) < 1 && return target, result
gl = result.target_length
if length(fliprange) == gl
# flip whole sequence and its annotations
Expand Down

0 comments on commit 9bde8b0

Please sign in to comment.