Skip to content

Commit

Permalink
fix debug msg
Browse files Browse the repository at this point in the history
  • Loading branch information
glennhickey committed Apr 12, 2024
1 parent 54712e1 commit 69fc397
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/rgfa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,12 @@ bool RGFACover::add_interval(vector<pair<step_handle_t, step_handle_t>>& thread_
#ifdef debug
#pragma omp critical(cerr)
cerr << "next interval found" << graph->get_path_name(graph->get_path_handle_of_step(next_interval.first))
<< ":" << graph->get_id(graph->get_handle_of_step(next_interval.first))
<< "-" << graph->get_id(graph->get_handle_of_step(next_interval.second)) << endl;
<< ":" << graph->get_id(graph->get_handle_of_step(next_interval.first));
if (next_interval.second == graph->path_end(graph->get_path_handle_of_step(next_interval.second))) {
cerr << "PATH_END" << endl;
} else {
cerr << "-" << graph->get_id(graph->get_handle_of_step(next_interval.second)) << endl;
}
#endif
next_interval.first = new_interval.first;
merged = true;
Expand Down
2 changes: 1 addition & 1 deletion src/subcommand/paths_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void help_paths(char** argv) {
<< " -r, --retain-paths output a graph with only the selected paths retained" << endl
<< " rGFA cover" << endl
<< " -f, --rgfa-min-length N add rGFA cover to graph, using seleciton from -Q/-S as rank-0 backbone, only adding fragments >= Nbp (default:-1=disabled)" << endl
<< " -s, --snarls FILE snarls (from vg snarls) to avoid recomputing. snarls only used for rgfa cover (-R)." << endl
<< " -s, --snarls FILE snarls (from vg snarls) to avoid recomputing. snarls only used for rgfa cover." << endl
<< " -t, --threads N use up to N threads when computing rGFA cover (default: all available)" << endl
<< " --rgfa-vcf FILE add rGFA cover tags to VCF (which must be called on rGFA cover in graph from -f)" << endl
<< " output path data:" << endl
Expand Down

1 comment on commit 69fc397

@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.

15 tests passed, 0 tests failed and 0 tests skipped in 15621 seconds

Please sign in to comment.