Skip to content

Commit 0266ea5

Browse files
Add better error message
1 parent c5ca4c3 commit 0266ea5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/prefiltering/ungappedprefilter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ int prefilterInternal(int argc, const char **argv, const Command &command, int m
405405
const bool isGpuDb = DBReader<unsigned int>::getExtendedDbtype(tdbr->getDbtype()) & Parameters::DBTYPE_EXTENDED_GPU;
406406
if (isGpuDb == false) {
407407
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";
408+
<< "Please call: makepaddedseqdb " << FileUtil::baseName(par.db2) << " " << FileUtil::baseName(par.db2) << "_pad\n";
409409
EXIT(EXIT_FAILURE);
410410
}
411411
}

Diff for: src/util/gpuserver.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ int gpuserver(int argc, const char **argv, const Command& command) {
3232
const bool isGpuDb = DBReader<unsigned int>::getExtendedDbtype(dbr->getDbtype()) & Parameters::DBTYPE_EXTENDED_GPU;
3333
if (isGpuDb == false) {
3434
Debug(Debug::ERROR) << "Database " << FileUtil::baseName(par.db1) << " is not a valid GPU database\n"
35-
<< "Please call: makepaddedseqdb " << FileUtil::baseName(par.db2) << " " << FileUtil::baseName(par.db2) "_pad\n";
35+
<< "Please call: makepaddedseqdb " << FileUtil::baseName(par.db2) << " " << FileUtil::baseName(par.db2) << "_pad\n";
3636
EXIT(EXIT_FAILURE);
3737
}
3838

0 commit comments

Comments
 (0)