From e4c995d626e91a1c33179633b24cdee00e8ee371 Mon Sep 17 00:00:00 2001 From: Richard Neher Date: Fri, 8 Sep 2023 18:08:51 +0200 Subject: [PATCH] fix: adjust error message --- packages_rs/nextclade/src/tree/tree_builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages_rs/nextclade/src/tree/tree_builder.rs b/packages_rs/nextclade/src/tree/tree_builder.rs index 549cee0a1..63a67c5b3 100644 --- a/packages_rs/nextclade/src/tree/tree_builder.rs +++ b/packages_rs/nextclade/src/tree/tree_builder.rs @@ -195,7 +195,7 @@ pub fn finetune_nearest_node( })?; private_mutations = union_of_muts(&private_mutations, &best_split_result.left.invert()).wrap_err_with(|| { format!( - "When calculating union of mutations between query sequence and the candidate child node '{}'", + "When calculating union of mutations between query sequence the zero-length parent node '{}'", graph.get_node(best_node.key()).expect("Node not found").payload().name ) })?;