Skip to content

Commit

Permalink
Revert "Fix invalid thread number for gff2db lookupwriter"
Browse files Browse the repository at this point in the history
This reverts commit 7b95387.
  • Loading branch information
milot-mirdita committed Oct 31, 2023
1 parent 5e119e9 commit 6f45232
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, par.compressed, Parameters::DBTYPE_OMIT_FILE);
DBWriter lookupWriter(outLookup.c_str(), outLookupIndex.c_str(), par.threads, 0, Parameters::DBTYPE_OMIT_FILE);
lookupWriter.open();

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

0 comments on commit 6f45232

Please sign in to comment.