Adapt to changes in Ghoul that made absPath return a std::filesystem::path instead of a std::string

This commit is contained in:
Alexander Bock
2021-05-17 00:23:15 +02:00
parent ccdc5a5dc3
commit 92432caed2
102 changed files with 431 additions and 389 deletions
@@ -140,9 +140,9 @@ std::string LabelParser::encode(const std::string& line) const {
}
bool LabelParser::create() {
std::string sequenceDir = absPath(_fileName);
std::filesystem::path sequenceDir = absPath(_fileName);
if (!std::filesystem::is_directory(sequenceDir)) {
LERROR(fmt::format("Could not load Label Directory '{}'", sequenceDir));
LERROR(fmt::format("Could not load Label Directory {}", sequenceDir));
return false;
}