Skip to content

Commit

Permalink
Version 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jltsiren committed Nov 26, 2017
1 parent 5e333bb commit 5116b20
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 0 additions & 2 deletions include/gbwt/dynamic_gbwt.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ class DynamicGBWT
/*
Insert the sequences from the other GBWT into this. Use batch size 0 to insert all
sequences at once.
FIXME Special case when the node ids do not overlap.
*/
void merge(const GBWT& source, size_type batch_size = MERGE_BATCH_SIZE);

Expand Down
4 changes: 3 additions & 1 deletion include/gbwt/gbwt.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ class GBWT
GBWT();
GBWT(const GBWT& source);
GBWT(GBWT&& source);
GBWT(const std::vector<GBWT>& sources);
~GBWT();

// Merge the sources, assuming that node ids do not overlap.
GBWT(const std::vector<GBWT>& sources);

void swap(GBWT& another);
GBWT& operator=(const GBWT& source);
GBWT& operator=(GBWT&& source);
Expand Down
2 changes: 1 addition & 1 deletion include/gbwt/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ struct Version
static void print(std::ostream& out, const std::string& tool_name, bool verbose = false, size_type new_lines = 2);

const static size_type MAJOR_VERSION = 0;
const static size_type MINOR_VERSION = 2;
const static size_type MINOR_VERSION = 3;
const static size_type PATCH_VERSION = 0;

const static size_type GBWT_VERSION = 1;
Expand Down
3 changes: 2 additions & 1 deletion merge_gbwt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ main(int argc, char** argv)

Version::print(std::cout, tool_name);

printHeader("Algorithm"); std::cout << (fast_merging ? "fast" : "insert") << std::endl;
printHeader("Input files"); std::cout << input_files << std::endl;
printHeader("Output name"); std::cout << output << std::endl;
printHeader("Batch size"); std::cout << batch_size << std::endl;
if(!fast_merging) { printHeader("Batch size"); std::cout << batch_size << std::endl; }
std::cout << std::endl;

double start = readTimer();
Expand Down

0 comments on commit 5116b20

Please sign in to comment.