Skip to content

Commit

Permalink
update gatb-core for verbosity fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayan CHIKHI committed Dec 10, 2024
1 parent 88c8430 commit 15c3a01
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions src/Minia.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,10 @@ struct MiniaFunctor { void operator () (Parameter parameter)

// link contigs
uint nb_threads = 1; // doesn't matter because for now link_tigs is single-threaded
bool verbose = true;
link_tigs<span>(output, minia.k, nb_threads, minia.nbContigs, verbose, false);
int verbose = 1;
if (minia.getInput()->get(STR_VERBOSE))
verbose = minia.getInput()->getInt(STR_VERBOSE);
link_tigs<span>(output, minia.k, nb_threads, minia.nbContigs, verbose > 0, false);

/** We gather some statistics. */
minia.getInfo()->add (1, minia.getTimeInfo().getProperties("time"));
Expand Down Expand Up @@ -246,7 +248,9 @@ string Minia::assemble (/*const, removed because Simplifications isn't const any
/** We get an iterator over all nodes . */
ProgressGraphIteratorTemplate<Node,ProgressTimerAndSystem> itNode (graph.Graph_type::iterator(), progressFormat0);

bool verbose = getParser()->saw("-verbose");
int verbose = 1;
if (getInput()->get(STR_VERBOSE))
verbose = getInput()->getInt(STR_VERBOSE);

// if we want unitigs, then don't simplify the graph; else do it
if (simplifyGraph)
Expand Down

0 comments on commit 15c3a01

Please sign in to comment.