Repository navigation
v0.1.0-beta.29
Pre-releaseBug Fixes
-
Fix codon validation checking ungapped length instead of alignment site count — The divisibility-by-3 check was stripping gap characters before measuring length, but HyPhy validates the total alignment column count (with gaps). Gapped alignments with non-divisible-by-3 column counts could bypass frontend validation and fail on SLURM. Now checks raw alignment site count. (#131, PR #132)
-
Add NEXUS format support in codon validation — NEXUS files previously produced confusing "Sequence data found before header" errors. Now properly parses NEXUS MATRIX blocks and validates codons. Extracted shared
parseNexus(),isNexusFormat(), andparseAlignment()utilities from FastaExport into fastaValidation.js.
No other gap-stripping-before-length-check patterns found elsewhere in the codebase.