Commit d7d22c35 authored by Dr. Carsten Kemena's avatar Dr. Carsten Kemena
Browse files

Merge branch 'master' of zivgitlab.uni-muenster.de:domain-world/BioSeqDataLib

parents 04a3be71 474e0efa
Pipeline #122688 failed with stages
in 1 minute and 8 seconds
......@@ -64,7 +64,15 @@ namespace BioSeqDataLib
const fs::path
&operator[](const std::string &name) const
{
return mapping.at(name);
auto settingValue = mapping.find(name);
if (settingValue != mapping.end())
{
return settingValue->second;
}
else
{
throw std::runtime_error("Failed to set parameter '" + name + "'");
}
}
/*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment