mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Ensemble import. Do not show warning dialog if there are no errors
This commit is contained in:
parent
228b4a5f85
commit
2dd8744743
@ -87,13 +87,14 @@ bool RicImportEnsembleFeature::validateEnsembleCases(std::vector<RimSummaryCase*
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (!errors.isEmpty())
|
||||||
|
{
|
||||||
errors.append("\n");
|
errors.append("\n");
|
||||||
errors.append("No parameters file (parameters.txt or runspecification.xml) was found in \n");
|
errors.append("No parameters file (parameters.txt or runspecification.xml) was found in \n");
|
||||||
errors.append("the searched folders. ResInsight searches the home folder of the summary \n");
|
errors.append("the searched folders. ResInsight searches the home folder of the summary \n");
|
||||||
errors.append("case file and the three folder levels above that.\n");
|
errors.append("case file and the three folder levels above that.\n");
|
||||||
|
|
||||||
if (!errors.isEmpty())
|
|
||||||
{
|
|
||||||
throw errors;
|
throw errors;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user