We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73207b4 commit 56b97b5Copy full SHA for 56b97b5
1 file changed
OREAnalytics/orea/app/oreapp.cpp
@@ -640,6 +640,8 @@ std::string OREAppInputParameters::loadParameterString(const std::string& analyt
640
std::string OREAppInputParameters::loadParameterXMLString(const std::string& analytic, const std::string& param,
641
bool mandatory) {
642
string filename = loadParameterString(analytic, param, mandatory);
643
+ if (filename.empty())
644
+ return filename;
645
filesystem::path filepath = inputPath_ / filename;
646
XMLDocument doc(filepath.generic_string());
647
return doc.toString();
0 commit comments