Skip to content

Commit

Permalink
Fix invalid thread number for gff2db lookupwriter
Browse files Browse the repository at this point in the history
  • Loading branch information
RuoshiZhang authored and milot-mirdita committed Nov 23, 2022
1 parent 712f288 commit 7b95387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/gff2db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int gff2db(int argc, const char **argv, const Command &command) {
headerWriter.open();
std::string outLookup = outDb + ".lookup";
std::string outLookupIndex = outDb + ".lookup.index";
DBWriter lookupWriter(outLookup.c_str(), outLookupIndex.c_str(), par.threads, 0, Parameters::DBTYPE_OMIT_FILE);
DBWriter lookupWriter(outLookup.c_str(), outLookupIndex.c_str(), par.threads, par.compressed, Parameters::DBTYPE_OMIT_FILE);
lookupWriter.open();

FILE *source = FileUtil::openAndDelete((outDb + ".source").c_str(), "w");
Expand Down

0 comments on commit 7b95387

Please sign in to comment.