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

SpiderImagePlugin: raise an error when seeking in a non-stack file #1741

Closed
wants to merge 1 commit into from

Conversation

jmichalon
Copy link
Contributor

Using ImageSequence.Iterator on a non-stack SPIDER image leads to infinite loop.
EOFError (which stops the iteration) is never raised because when the image isn't a stack,
seek() returns gently without error.

Using ImageSequence.Iterator on a non-stack SPIDER image leads to infinite loop.
EOFError (which stops the iteration) is never raised because when the image isn't a stack,
seek() returns gently without error.
@wiredfool
Copy link
Member

There are some DOS tests in the Tests/ directory, and I think that they do some ulimit setting. I'd like to get a test in there prior to merge.

@wiredfool
Copy link
Member

Included in #1794

@wiredfool wiredfool closed this Apr 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants