Skip to content

fix(build): support building a graph from a single input sequence - #191

Merged
mmolari merged 1 commit into
feat/mergefrom
feat/merge-single-seq-build
Aug 10, 2026
Merged

fix(build): support building a graph from a single input sequence#191
mmolari merged 1 commit into
feat/mergefrom
feat/merge-single-seq-build

Conversation

@mmolari

@mmolari mmolari commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

build_tree_using_neighbor_joining panicked on a single input sequence (nodes[1] out of bounds) and on an empty input (nodes[0]). A one-genome graph is now a single leaf clade, and an empty input returns a clean error.

Prerequisite for pangraph merge: appending a genome requires building a one-sequence graph first. Phase 1 of dev/design/merge.md.

@mmolari
mmolari merged commit bb7187a into feat/merge Aug 10, 2026
19 checks passed
@mmolari
mmolari deleted the feat/merge-single-seq-build branch August 10, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant