opm-common icon indicating copy to clipboard operation
opm-common copied to clipboard

Activate GLIFTOPT for use in Pyaction and add warning for required keywords

Open lisajulia opened this issue 1 year ago • 2 comments

Depends on OPM/opm-simulators#5831 and OPM/opm-tests#1271.

With this PR, the keyword GLIFTOPT is activated for the use in a PYACTION. Since GLIFTOPT needs the keyword LIFTOPT before, I've added a warning: When a keywords that requires other keywords is inserted via a PYACTION, the warning

Opm::OpmLog::warning("Attention, the keyword " + keyword.name() + " needs the keyword " + requiredKeyword + " before.");

about the required keywords is added. I've chosen this, since there is no way to access the keywords that have already been processed from inside the PYACTION.

lisajulia avatar Dec 29 '24 12:12 lisajulia

jenkins build this opm-simulators=5831 opm-tests=1271 please

lisajulia avatar Dec 29 '24 12:12 lisajulia

jenkins build this opm-simulators=5831 opm-tests=1271 please

lisajulia avatar Jan 08 '25 11:01 lisajulia