summaryrefslogtreecommitdiff
path: root/morphology/src/sequence.rs
diff options
context:
space:
mode:
authorjacksonfu14 <jackson@fashionunited.com>2025-11-12 06:52:48 +0100
committerJackson Moore <jacksonmoore@tuta.io>2025-11-12 06:52:48 +0100
commitef8a111e9e86d68243f0e0e49a412755b4179aae (patch)
treec83c7dd456532891347dc1657bd0f48c1ad6f642 /morphology/src/sequence.rs
parentd0e3dc212ea7d855bf5339a5f9904e681e7b363a (diff)
make segrate lengths default for sorting
Diffstat (limited to 'morphology/src/sequence.rs')
-rw-r--r--morphology/src/sequence.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/morphology/src/sequence.rs b/morphology/src/sequence.rs
index 4fcf70e..8f15c7c 100644
--- a/morphology/src/sequence.rs
+++ b/morphology/src/sequence.rs
@@ -467,11 +467,11 @@ pub enum SortingDirection {
/// Defines how sequences of different lengths are sorted.
#[derive(Debug, Clone, Copy, Default)]
pub enum LengthSorting {
- /// Sequences of different lengths are sorted together by content
- #[default]
- InterpolateLength,
/// Sequences are grouped by length, shorter sequences first
+ #[default]
SegregateLength,
+ /// Sequences of different lengths are sorted together by content
+ InterpolateLength,
}
/// Configuration options for sequence generation and sorting.