You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Alignment partitionType has a dead 'dna' case #269
Alignment.partitionType in src/app/store/Alignment.ts switches on dataType and has a case 'dna': beside case 'nucleotide':. The parser's DataType (src/common/typecheckAlignment.ts) never holds 'dna', so the case is unreachable and TypeScript reports TS2678. #247 keeps the case and holds the diagnostic with a @ts-expect-error.
What to build
Delete the dead 'dna' case and its @ts-expect-error. The partition type for nucleotide data stays DNA.
Acceptance criteria
partitionType has no 'dna' case and no @ts-expect-error
Plain tsc reports nothing for src/app/store/Alignment.ts
Activity