Skip to content

Commit

Permalink
Activate COMPSEGS, WELSEGS, WSEGVALV for use in PYACTION, tests are i…
Browse files Browse the repository at this point in the history
…n opm-tests
  • Loading branch information
lisajulia committed May 17, 2024
1 parent c6bc61f commit b300e61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion opm/input/eclipse/Schedule/Action/PyAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ namespace Action {
bool PyAction::valid_keyword(const std::string& keyword) {
static std::unordered_set<std::string> pyaction_allowed_list = {
"BOX",
"COMPSEGS",
"FIELD",
"ENDBOX", "EXIT",
"GCONINJE", "GCONPROD", "GCONSUMP","GRUPTREE",
"METRIC", "MULTX", "MULTX-", "MULTY", "MULTY-", "MULTZ", "MULTZ-",
"NEXT", "NEXTSTEP",
"WCONINJE", "WCONPROD", "WECON", "WEFAC", "WELOPEN", "WELTARG", "WGRUPCON", "WELSPECS", "WTEST"
"WCONINJE", "WCONPROD", "WECON", "WEFAC", "WELOPEN", "WELTARG", "WGRUPCON", "WELSEGS", "WELSPECS", "WSEGVALV", "WTEST"
};
return pyaction_allowed_list.find(keyword) != pyaction_allowed_list.end();
}
Expand Down

0 comments on commit b300e61

Please sign in to comment.