Skip to content

Commit

Permalink
[FIX] silence warning with seqan 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
h-2 committed Feb 16, 2018
1 parent e0781a5 commit f38cb0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/options.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,14 +420,14 @@ parseCommandLine(LambdaOptions & options, int argc, char const ** argv)
"Query sequences.",
ArgParseArgument::INPUT_FILE,
"IN"));
setValidValues(parser, "query", toCString(concat(getFileExtensions(SeqFileIn()), ' ')));
setValidValues(parser, "query", getFileExtensions(SeqFileIn()));
setRequired(parser, "q");

addOption(parser, ArgParseOption("d", "database",
"Path to original database sequences (a precomputed index with .sa or .fm needs to exist!).",
ArgParseArgument::INPUT_FILE,
"IN"));
setValidValues(parser, "database", toCString(concat(getFileExtensions(SeqFileIn()), ' ')));
setValidValues(parser, "database", getFileExtensions(SeqFileIn()));
setRequired(parser, "d");

addOption(parser, ArgParseOption("di", "db-index-type",
Expand Down Expand Up @@ -1048,7 +1048,7 @@ parseCommandLine(LambdaIndexerOptions & options, int argc, char const ** argv)
ArgParseArgument::INPUT_FILE,
"IN"));
setRequired(parser, "database");
setValidValues(parser, "database", toCString(concat(getFileExtensions(SeqFileIn()), ' ')));
setValidValues(parser, "database", getFileExtensions(SeqFileIn()));

addOption(parser, ArgParseOption("s",
"segfile",
Expand Down

0 comments on commit f38cb0d

Please sign in to comment.