-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed gcc4.6 errors, added --no-auto-append
- Loading branch information
Showing
11 changed files
with
19 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,8 @@ Config::Config(int argc, const char **argv) | |
("index-mode", 0, "index mode (0=4x12, 1=16x9)", index_mode) | ||
("fetch-size", 0, "trace point fetch size", fetch_size, 4096u) | ||
("single-domain", 0, "Discard secondary domains within one target sequence", single_domain) | ||
("dbsize", 0, "effective database size (in letters)", db_size); | ||
("dbsize", 0, "effective database size (in letters)", db_size) | ||
("no-auto-append", 0, "disable auto appending of DAA and DMND file extensions", no_auto_append); | ||
|
||
Options_group view_options("View options"); | ||
view_options.add() | ||
|
@@ -154,8 +155,10 @@ Config::Config(int argc, const char **argv) | |
set_option(index_mode, 0u); | ||
} | ||
|
||
auto_append_extension(database, ".dmnd"); | ||
auto_append_extension(daa_file, ".daa"); | ||
if (!no_auto_append) { | ||
auto_append_extension(database, ".dmnd"); | ||
auto_append_extension(daa_file, ".daa"); | ||
} | ||
|
||
message_stream << Const::program_name << " v" << Const::version_string << "." << Const::build_version << " | by Benjamin Buchfink <[email protected]>" << endl; | ||
message_stream << "Check http://github.com/bbuchfink/diamond/releases for updates." << endl << endl; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters