Skip to content

Remove copen - #1284

Open
eivindjahren wants to merge 8 commits into
fix_add_polylinefrom
remove_copen
Open

Remove copen#1284
eivindjahren wants to merge 8 commits into
fix_add_polylinefrom
remove_copen

Conversation

@eivindjahren

Copy link
Copy Markdown
Collaborator

This removes all usage of cwrap.open and replace it with python code. We go by a conversion to fd for testing purposes only.

@eivindjahren
eivindjahren force-pushed the remove_copen branch 2 times, most recently from 4d1967e to b8c1ff3 Compare August 28, 2026 10:43
Base automatically changed from remove_resdataprototype to main August 28, 2026 10:44
@eivindjahren
eivindjahren changed the base branch from main to fix_add_polyline August 28, 2026 10:48
This makes a change to the logic of fseek_grdecl. The c code
would rewind to the start of the line when doing a fseek, however,
that is not safe with python text streams which can be utf-8. Therefore
we have to assume that the stream is at the start of a line or valid keyword
and it is up to the caller to ensure that.
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.

1 participant