Skip to content

Conversation

@lisajulia
Copy link

@lisajulia lisajulia commented Dec 29, 2024

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
Copy link
Author

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

Copy link
Member

@blattms blattms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we need to discuss his as there might be hard to detect or undetectable input errors.

@lisajulia lisajulia force-pushed the feature/pyAction-insert-kw-GLIFTOPT branch from 8c5d06d to 37af2e3 Compare January 8, 2025 11:39
@lisajulia lisajulia force-pushed the feature/pyAction-insert-kw-GLIFTOPT branch from 37af2e3 to 301e678 Compare January 8, 2025 11:50
@lisajulia
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants