Skip to content

Commit

Permalink
sample when there are lots of blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGuarracino committed Aug 23, 2023
1 parent cd7def6 commit f1e139e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ int main(int argc, char **argv) {

// build the sequence and edges into the output graph
auto* smoothed = new odgi::graph_t();
const uint64_t sample_rate = block_count > 1000000 ? 4 : 0;
const uint64_t sample_rate = block_count > 12000000 ? 4 : (block_count > 6000000 ? 2 : 0);
{
std::stringstream load_graphs_banner;
load_graphs_banner << smoothxg_iter << "::smooth_and_lace] loading " << block_count << " graph blocks:";
Expand Down

0 comments on commit f1e139e

Please sign in to comment.