You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can try to come up with a generic solution, but for now the easiest/quickest option is to change the gDigitsRE regular expression if you know that all of your sequence files conform to this convention. e.g. if you know that comp files will always have %04d padded frames, then you can change it to this and it should work:
Hello,
given the following 3 sequences in a folder:
010_comp_v02.0001.exr
010_comp_v04.0020.exr
010_comp_v04.0021.exr
010_comp_v04.0022.exr
010_comp_v04.0023.exr
010_comp_v04.0024.exr
010_comp_v04.0025.exr
010_comp_v10.0001.exr
010_comp_v10.0002.exr
010_comp_v10.0003.exr
010_comp_v10.0004.exr
010_comp_v10.0005.exr
010_comp_v10.0006.exr
010_comp_v10.0007.exr
010_comp_v10.0008.exr
010_comp_v10.0009.exr
010_comp_v10.0010.exr
I get incorrect results if I run the following:
for i in getSequences(folder):
print i
Result:
010_comp_v1-10.0001.exr
010_comp_v04.20-25.exr
if I rename the single file '010_comp_v02.0001.exr' to '010_comp_v02.0002.exr' I get the following:
Result:
010_comp_v02.0002.exr
010_comp_v04.20-25.exr
010_comp_v10.1-10.exr
lss command line tool reports the same in both cases:
MacPro-Dev:renders kidb$ lss
1 .DS_Store
11 010_comp_v%02d.0001.exr 1-2 2-10
6 010_comp_v04.%04d.exr 20-25
MacPro-Dev:renders kidb$ lss
1 .DS_Store
1 010_comp_v02.0002.exr
6 010_comp_v04.%04d.exr 20-25
10 010_comp_v10.%04d.exr 1-10
The text was updated successfully, but these errors were encountered: