Skip to content

Commit 42bfaa1

Browse files
committed
dont crash with multiple references
1 parent dd55ec7 commit 42bfaa1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/rgfa.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,6 @@ void RGFACover::print_stats(ostream& os) {
11171117
path_handle_t ref_path = graph->get_path_handle_of_step(ref_step);
11181118
string name = graph->get_path_name(ref_path);
11191119
// we assume one reference contig (which is built into the whole structure)
1120-
assert(r_chrom.empty() || r_chrom == name);
11211120
int64_t ref_pos = node_to_ref_pos.at(rank_node.second);
11221121
int64_t last_len = (int64_t)graph->get_length(graph->get_handle(rank_node.second));
11231122
if (chrom_pos.count(name)) {

0 commit comments

Comments
 (0)