Skip to content

molfile_to_params: fix support for gzipped files.#714

Open
roccomoretti wants to merge 1 commit into
RosettaCommons:mainfrom
roccomoretti:molfile_gzip
Open

molfile_to_params: fix support for gzipped files.#714
roccomoretti wants to merge 1 commit into
RosettaCommons:mainfrom
roccomoretti:molfile_gzip

Conversation

@roccomoretti

Copy link
Copy Markdown
Member

In Python3, gzip returns a bytes-based object, rather than a string one (which is what open() returns), which results in errors later. We can use TextIOWrapper to fix the issue.

In Python3, gzip returns a bytes-based object, rather than a string one (which is what open() returns), which results in errors later.
We can use TextIOWrapper to fix the issue.
@roccomoretti roccomoretti requested review from lyskov and woodsh17 June 8, 2026 16:55
@roccomoretti roccomoretti added ready_for_review This PR is ready to be reviewed and merged. 90 standard tests labels Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

90 standard tests ready_for_review This PR is ready to be reviewed and merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant