Skip to content

Commit

Permalink
Remove the rel path
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-steinegger committed Jul 31, 2023
1 parent 0019026 commit 95e1c10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/util/createclusterdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,8 @@ int createclusearchdb(int argc, const char **argv, const Command& command) {
}
for (size_t i = 0; i < ARRAY_SIZE(suffices); ++i) {
std::string file = par.db3 + suffices[i].suffix;
std::string fileBasename = FileUtil::baseName(file);
if (suffices[i].flag && FileUtil::fileExists(file.c_str())) {
DBReader<unsigned int>::aliasDb(fileBasename, par.db3 + "_seq" + suffices[i].suffix);
DBReader<unsigned int>::aliasDb(file, par.db3 + "_seq" + suffices[i].suffix);
}
}
return EXIT_SUCCESS;
Expand Down

0 comments on commit 95e1c10

Please sign in to comment.