Skip to content

Commit

Permalink
Code formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed Jul 31, 2015
1 parent 3ccc0fa commit 0c69264
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 21 deletions.
6 changes: 2 additions & 4 deletions aces_1.0.0/python/aces_ocio/colorspaces/arri.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,15 @@ def normalized_log_c_to_linear(code_value, exposure_index):
'type': 'lutFile',
'path': lut,
'interpolation': 'linear',
'direction': 'forward'
})
'direction': 'forward'})

if gamut == 'Wide Gamut':
cs.to_reference_transforms.append({
'type': 'matrix',
'matrix': mat44_from_mat33([0.680206, 0.236137, 0.083658,
0.085415, 1.017471, -0.102886,
0.002057, -0.062563, 1.060506]),
'direction': 'forward'
})
'direction': 'forward'})

cs.from_reference_transforms = []
return cs
Expand Down
28 changes: 14 additions & 14 deletions aces_1.0.0/python/aces_ocio/lut.py
Original file line number Diff line number Diff line change
Expand Up @@ -829,19 +829,19 @@ def main():
else:
print('3D LUT generation options')

print('lut : %s' % lut)
print('format : %s' % format)
print('ctls : %s' % ctls)
print('lut res 1d : %s' % lut_resolution_1d)
print('lut res 3d : %s' % lut_resolution_3d)
print('min value : %s' % min_value)
print('max value : %s' % max_value)
print('input scale : %s' % input_scale)
print('output scale : %s' % output_scale)
print('ctl render params : %s' % params)
print('ctl release path : %s' % ctl_release_path)
print('bit depth of input : %s' % bit_depth)
print('cleanup temp images : %s' % cleanup)
print('Lut : %s' % lut)
print('Format : %s' % format)
print('CTLs : %s' % ctls)
print('Lut Res 1d : %s' % lut_resolution_1d)
print('Lut Res 3d : %s' % lut_resolution_3d)
print('Min Value : %s' % min_value)
print('Max Value : %s' % max_value)
print('Input Scale : %s' % input_scale)
print('Output Scale : %s' % output_scale)
print('CTL Render Params : %s' % params)
print('CTL Release Path : %s' % ctl_release_path)
print('Input Bit Depth : %s' % bit_depth)
print('Cleanup Temp Images : %s' % cleanup)

if generate_1d:
generate_1d_LUT_from_CTL(lut,
Expand Down Expand Up @@ -869,7 +869,7 @@ def main():
ctl_release_path,
format=format)
else:
print(('\n\nNo LUT generated. '
print(('\n\nNo LUT generated! '
'You must choose either 1D or 3D LUT generation\n\n'))


Expand Down
5 changes: 2 additions & 3 deletions aces_1.0.0/python/aces_ocio/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,5 @@ def unpack_default(iterable, length=3, default=None):
iterable
"""

return itertools.islice(itertools.chain(iter(iterable),
itertools.repeat(default)),
length)
return itertools.islice(
itertools.chain(iter(iterable), itertools.repeat(default)), length)

0 comments on commit 0c69264

Please sign in to comment.