Skip to content

Commit

Permalink
dont crash with multiple references
Browse files Browse the repository at this point in the history
  • Loading branch information
glennhickey committed May 1, 2024
1 parent dd55ec7 commit 42bfaa1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/rgfa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

1 comment on commit 42bfaa1

@adamnovak
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vg CI tests complete for branch rgfa2. View the full report here.

16 tests passed, 0 tests failed and 0 tests skipped in 17445 seconds

Please sign in to comment.