Comments (3)
I've just pushed a branch with an additional test for these issues, as well as some proposed fixes. The fixes do appear to solve the issue with findSequencesOnDisk, however looking into this exposed some knock-on effects from the earlier changes from #20 having not been applied to the findSequencesOnDisk and findSequenceOnDisk methods, as the "it's not a candidate for a frame number unless it either has an explicit placeholder or has a period in front of it" rule causes some issues with the existing tests for those two methods.
So this is a testing branch with some diff worth looking at and certainly discussing, but don't merge it.
from fileseq.
@michaelmovies , I did a pass at this in my own branch, and merged your unittest with my own, to check the results. In my version I seem to be able to preserve the existing behavior while addressing the fix.
References
- Your branch: find_sequences_issue_25
- My branch: find_sequences_issue_25_justinfx
- Diff of our branches
Am I missing anything that you were addressing in your branch?
from fileseq.
@justinfx I've rebased from yours and added some new tests to show the issue, plus committed my fix back into my branch.
The main change is to fix an issue that caused findSequencesOnDisk to fail with a ValueError if a name had mixed dashes and numbers (ie /file4-4.exr). That's existed since at least 0.5.1.
from fileseq.
Related Issues (20)
- Python2 exception if byte-encoded unicode is passed to FileSequence constructor HOT 2
- FrameSet.frange() decstring inconsistency HOT 2
- Update utils.asString() to prevent derived bytes types from slipping past type check (py2) HOT 1
- findSequenceOnDisk with mixed case on Windows HOT 17
- Support for <UDIM> token? HOT 8
- findSequenceOnDisk() failing on this particular sequence HOT 3
- FileSequence.setPadding() raises an error if padding not supported, but still sets the attribute. HOT 2
- FileSequence.findSequenceOnDisk changes padding style unless called with strictPadding=True HOT 12
- Changing pad style does not recompute zfill value HOT 2
- FileSequence fails to parse date-time file name HOT 3
- Type stubs HOT 23
- v2: Drop python2 support HOT 1
- Fails to parse multi-component extensions like ".a.ext" HOT 1
- FileSequence.findSequenceOnDisk ignores padding style from argument HOT 3
- decimal subframes being rounded to 0 still contain negative sign HOT 1
- Unable to set empty extension on fileseq object via setExtension(), but you can with via init.
- A fileseq with no padding is still able to be iterated through HOT 4
- Ranges don't get detected from a string sequence with no padding while single frames do HOT 5
- Missing frame token in FileSequence string representation when it has no range HOT 7
- FileSequence unicode printing error in python2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fileseq.