Comments (7)
I'm guessing this problem was introduced via the fix for #56. It was meant to support extensions with multiple dot components. But it would seem it is not properly ignoring patterns where there is no frame range. It shouldn't parse the longer extension in this case. I will try and look into this shortly.
from fileseq.
I've pushed a 65_long_ext_parsing branch with a fix for this problem. However I am a bit torn on some resulting behaviour:
Given input: file.v2.tar.gz
Currently the output will be: basename: file.v2 ; ext: .tar.gz
There is logic that detects when the split was on a possible version number instead of a frame, and it merged it into the basename, leaving the rest as the extension. I am torn on whether the output should actually be: basename: file.v2.tar ; ext: .gz
Will need to think about this.
from fileseq.
from fileseq.
from fileseq.
from fileseq.
from fileseq.
from fileseq.
Related Issues (20)
- 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
- Inconsistancies with FileSequence and FrameSet comparison HOT 2
- A FileSequence with no range drops padding when cast to string HOT 5
- FileSequence module not generating correctly for v2.0.0 HOT 1
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.