Skip to content

Commit 6c267ec

Browse files
Improve error message
1 parent 416fc72 commit 6c267ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/prefiltering/ungappedprefilter.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,8 @@ int prefilterInternal(int argc, const char **argv, const Command &command, int m
404404
if (par.gpu == true) {
405405
const bool isGpuDb = DBReader<unsigned int>::getExtendedDbtype(tdbr->getDbtype()) & Parameters::DBTYPE_EXTENDED_GPU;
406406
if (isGpuDb == false) {
407-
Debug(Debug::ERROR) << "Database " << FileUtil::baseName(par.db2) << " is not a valid GPU database\n";
407+
Debug(Debug::ERROR) << "Database " << FileUtil::baseName(par.db2) << " is not a valid GPU database\n"
408+
<< "Please call: makepaddedseqdb " << FileUtil::baseName(par.db2) << " " << FileUtil::baseName(par.db2) "_pad\n";
408409
EXIT(EXIT_FAILURE);
409410
}
410411
}

0 commit comments

Comments
 (0)