Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpin opm #450

Closed
kwinkunks opened this issue Jun 5, 2023 · 1 comment
Closed

Unpin opm #450

kwinkunks opened this issue Jun 5, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@kwinkunks
Copy link
Member

Pinned at <= 2022.4 to get tests to pass: #449

Seemed to be an issue with a keyword:

string = 'EQLDIMS\n 3 /\n\n\nGAS\nOIL\n\nEQUIL\n 2000 200 2200 1 2100 3 /\n 3000 200 2200 1 2100 3 /\n'
parsecontext = <opm.libopmcommon_python.ParseContext object at 0x7f23f48f3930>

    @staticmethod
    def str2deck(
        string: str, parsecontext: Optional[List[Tuple[str, Any]]] = None
    ) -> "opm.libopmcommon_python.Deck":
        """Produce a opm.io deck from a string, using permissive
        parsing by default"""
        if parsecontext is None:
            parsecontext = opm.io.ParseContext(OPMIOPARSER_RECOVERY)
>       return opm.io.Parser().parse_string(string, parsecontext)
E       RuntimeError: Problem with keyword EQUIL
E       In <memory string> line 8
E       Keyword is not properly terminated.

See https://github.com/equinor/ecl2df/actions/runs/5178051696/jobs/9328986782#step:10:199

@kwinkunks kwinkunks added the bug Something isn't working label Jun 5, 2023
@kvashchuka
Copy link

Closed with #477

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants