-
Notifications
You must be signed in to change notification settings - Fork 42
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
A fileseq with no padding is still able to be iterated through #127
Comments
Thanks for registering the issue. I wouldn't expect it to raise an error since the class acts as a valid container and should provide iteration regardless of the input. Defaulting to a padding char when setting a range would be a nice idea, and I think since it is a potentially breaking behaviour, we should expect it to be a v2 feature. |
There is now a v2 branch available, if this change wants to be a PR |
@walrusVision do you want to have a look at #130 ? |
Merged to v2 branch |
A FileSequence with no padding is able to be iterated through, but with a result which is non-obvious. The range gets combined into the file name and a single file is returned
Current behavior
Setting a padding explicitly allows it to work as expected.
For the expected behavior I'd expect it to either raise an error, or fallback to some default padding.
For example
OR
The text was updated successfully, but these errors were encountered: