WIP: Initial version of a single-frame job compiler #104189
@ -127,6 +127,8 @@ tmp = basepath + 'merge_tmp/'
|
|||||||
filenames = [f for f in os.listdir(basepath) if os.path.isfile(basepath + f)]
|
filenames = [f for f in os.listdir(basepath) if os.path.isfile(basepath + f)]
|
||||||
if 'MERGED.exr' in filenames:
|
if 'MERGED.exr' in filenames:
|
||||||
filenames.remove('MERGED.exr')
|
filenames.remove('MERGED.exr')
|
||||||
|
if 'DENOISED.exr' in filenames:
|
||||||
|
filenames.remove('DENOISED.exr')
|
||||||
filenames.sort()
|
filenames.sort()
|
||||||
if len(filenames) <= 1:
|
if len(filenames) <= 1:
|
||||||
print('This job only has one file, merging not required.')
|
print('This job only has one file, merging not required.')
|
||||||
|
Loading…
Reference in New Issue
Block a user