Skip to content

Document that metis_reader expects a seekable stream #34

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

J5lx
Copy link

@J5lx J5lx commented Feb 19, 2022

metis_reader unconditionally seeks to the beginning of the stream when it starts, which causes it to fail with a metis_input_exception when reading from streams that are not seekable. For example, in my case I’m trying to read a graph that is piped into my program via stdin, which does not work because of this. This PR adds a note about that to the documentation to prevent surprises.

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