mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Ensemble import. Do not show warning dialog if there are no errors
This commit is contained in:
1 parent
228b4a5f85
commit
2dd8744743
1 file changed
+5
-4
@@ -87,13 +87,14 @@ bool RicImportEnsembleFeature::validateEnsembleCases(std::vector<RimSummaryCase*
|
||||
}
|
||||
}
|
||||
|
||||
errors.append("\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("case file and the three folder levels above that.\n");
|
||||
|
||||
if (!errors.isEmpty())
|
||||
{
|
||||
errors.append("\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("case file and the three folder levels above that.\n");
|
||||
|
||||
throw errors;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user