From 42bfaa1f0252042a440d2e083087bc332b5d1497 Mon Sep 17 00:00:00 2001 From: Glenn Hickey Date: Wed, 1 May 2024 14:18:46 -0400 Subject: [PATCH] dont crash with multiple references --- src/rgfa.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rgfa.cpp b/src/rgfa.cpp index d6a388afbf4..4af858a9d02 100644 --- a/src/rgfa.cpp +++ b/src/rgfa.cpp @@ -1117,7 +1117,6 @@ void RGFACover::print_stats(ostream& os) { path_handle_t ref_path = graph->get_path_handle_of_step(ref_step); string name = graph->get_path_name(ref_path); // we assume one reference contig (which is built into the whole structure) - assert(r_chrom.empty() || r_chrom == name); int64_t ref_pos = node_to_ref_pos.at(rank_node.second); int64_t last_len = (int64_t)graph->get_length(graph->get_handle(rank_node.second)); if (chrom_pos.count(name)) {