Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smehringer committed Nov 8, 2023
1 parent be73b16 commit 3b93156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/chopper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ int main(int argc, char const * argv[])
else if (config.k > config.window_size)
throw sharg::parser_error{"The k-mer size cannot be bigger than the window size."};

assert(parser.is_option_set("timing-output") && !config.output_timings.empty());

config.disable_sketch_output = !parser.is_option_set("output-sketches-to");
}
catch (sharg::parser_error const & ext) // the user did something wrong
Expand Down
3 changes: 2 additions & 1 deletion src/set_up_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ void set_up_parser(sharg::parser & parser, configuration & config)
sharg::config{.short_id = '\0',
.long_id = "timing-output",
.description = "Write time and memory usage to specified file (TSV format). ",
.default_message = ""});
.default_message = "",
.validator = sharg::output_file_validator{}});

parser.add_option(
config.hibf_config.tmax,
Expand Down

0 comments on commit 3b93156

Please sign in to comment.