Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-steinegger authored Jan 10, 2025
1 parent 416fc72 commit 6c267ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/prefiltering/ungappedprefilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,8 @@ int prefilterInternal(int argc, const char **argv, const Command &command, int m
if (par.gpu == true) {
const bool isGpuDb = DBReader<unsigned int>::getExtendedDbtype(tdbr->getDbtype()) & Parameters::DBTYPE_EXTENDED_GPU;
if (isGpuDb == false) {
Debug(Debug::ERROR) << "Database " << FileUtil::baseName(par.db2) << " is not a valid GPU database\n";
Debug(Debug::ERROR) << "Database " << FileUtil::baseName(par.db2) << " is not a valid GPU database\n"
<< "Please call: makepaddedseqdb " << FileUtil::baseName(par.db2) << " " << FileUtil::baseName(par.db2) "_pad\n";
EXIT(EXIT_FAILURE);
}
}
Expand Down

0 comments on commit 6c267ec

Please sign in to comment.