Skip to content

Commit 56b97b5

Browse files
author
Damien Barker
committed
QPR-13651 fix regression tests and oreapp
1 parent 73207b4 commit 56b97b5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

OREAnalytics/orea/app/oreapp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,8 @@ std::string OREAppInputParameters::loadParameterString(const std::string& analyt
640640
std::string OREAppInputParameters::loadParameterXMLString(const std::string& analytic, const std::string& param,
641641
bool mandatory) {
642642
string filename = loadParameterString(analytic, param, mandatory);
643+
if (filename.empty())
644+
return filename;
643645
filesystem::path filepath = inputPath_ / filename;
644646
XMLDocument doc(filepath.generic_string());
645647
return doc.toString();

0 commit comments

Comments
 (0)