Skip to content

Commit

Permalink
default pio and nbthreads
Browse files Browse the repository at this point in the history
add default pio and nbthreads
  • Loading branch information
jianshu93 authored Jun 22, 2023
1 parent c5ca063 commit fb82944
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bin/gsearch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -546,18 +546,20 @@ fn main() {
// the global command
//
let matches = Command::new("gsearch")
.version("0.1.2")
.version("0.1.3")
.about("Approximate nearest neighbour search for microbial genomes based on MinHash-like metric")
.arg_required_else_help(true)
.arg(Arg::new("pario") // do we use parallel io
.long("pio")
.value_name("pio")
.value_parser(clap::value_parser!(usize))
.default_value("500")
.help("Parallel IO processing"))
.arg(Arg::new("nbthreads")
.long("nbthreads")
.value_name("nbthreads")
.value_parser(clap::value_parser!(usize))
.default_value("8")
.help("nb thread for sketching"))
.subcommand(tohnsw_cmd)
.subcommand(add_cmd)
Expand Down

0 comments on commit fb82944

Please sign in to comment.