mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3134 Ensemble parameters import. Search 3 folder levels up. Improved warning message
This commit is contained in:
parent
02059debf9
commit
ec26d8638a
@ -87,6 +87,11 @@ 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())
|
||||
{
|
||||
throw errors;
|
||||
|
@ -319,7 +319,7 @@ void RifCaseRealizationRunspecificationReader::closeDataStream()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RifCaseRealizationParametersFileLocator::locate(const QString& modelPath)
|
||||
{
|
||||
int MAX_LEVELS_UP = 2;
|
||||
int MAX_LEVELS_UP = 3;
|
||||
int dirLevel = 0;
|
||||
|
||||
QDir qdir(modelPath);
|
||||
|
Loading…
Reference in New Issue
Block a user