Skip to content

Commit

Permalink
added decription to header
Browse files Browse the repository at this point in the history
  • Loading branch information
bbuchfink committed Dec 27, 2018
1 parent f01b176 commit 6f7d720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/output/blast_tab_format.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ void Blast_tab_format::print_header(Consumer &f, int mode, const char *matrix, i
return;
stringstream ss;
ss << "# DIAMOND v" << Const::version_string << ". http://github.com/bbuchfink/diamond" << endl;
ss << "# " << config.invocation << endl;
ss << "# " << join(", ", apply(fields, [](unsigned i) -> string { return string(field_desc[i]); })) << endl;
ss << "# Invocation: " << config.invocation << endl;
ss << "# Fields: " << join(", ", apply(fields, [](unsigned i) -> string { return string(field_desc[i]); })) << endl;
const string s(ss.str());
f.consume(s.data(), s.length());
}

0 comments on commit 6f7d720

Please sign in to comment.