Skip to content

Commit

Permalink
Update bin entropy bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
eaasna committed Nov 6, 2024
1 parent 3276596 commit 387e2ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/valik/shared.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ struct search_arguments final : public minimiser_threshold_arguments, search_pro
bool fast{false};
bool verbose{false};
bool keep_best_repeats{false};
double best_bin_entropy_cutoff{0.1};
double best_bin_entropy_cutoff{0.25};
bool keep_all_repeats{false};

size_t cart_max_capacity{1000};
Expand Down
2 changes: 1 addition & 1 deletion src/argument_parsing/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void init_search_parser(sharg::parser & parser, search_arguments & arguments)
"Increase this value to search more of the reference. "
"Use with --keep-best-repeats.",
.advanced = true,
.validator = sharg::arithmetic_range_validator{0.001, 0.99}});
.validator = sharg::arithmetic_range_validator{0.0, 1.0}});
parser.add_flag(arguments.keep_all_repeats,
sharg::config{.short_id = '\0',
.long_id = "keep-all-repeats",
Expand Down

0 comments on commit 387e2ae

Please sign in to comment.