Skip to content

Commit 0c69264

Browse files
committed
Code formatting.
1 parent 3ccc0fa commit 0c69264

3 files changed

Lines changed: 18 additions & 21 deletions

File tree

aces_1.0.0/python/aces_ocio/colorspaces/arri.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,17 +152,15 @@ def normalized_log_c_to_linear(code_value, exposure_index):
152152
'type': 'lutFile',
153153
'path': lut,
154154
'interpolation': 'linear',
155-
'direction': 'forward'
156-
})
155+
'direction': 'forward'})
157156

158157
if gamut == 'Wide Gamut':
159158
cs.to_reference_transforms.append({
160159
'type': 'matrix',
161160
'matrix': mat44_from_mat33([0.680206, 0.236137, 0.083658,
162161
0.085415, 1.017471, -0.102886,
163162
0.002057, -0.062563, 1.060506]),
164-
'direction': 'forward'
165-
})
163+
'direction': 'forward'})
166164

167165
cs.from_reference_transforms = []
168166
return cs

aces_1.0.0/python/aces_ocio/lut.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -829,19 +829,19 @@ def main():
829829
else:
830830
print('3D LUT generation options')
831831

832-
print('lut : %s' % lut)
833-
print('format : %s' % format)
834-
print('ctls : %s' % ctls)
835-
print('lut res 1d : %s' % lut_resolution_1d)
836-
print('lut res 3d : %s' % lut_resolution_3d)
837-
print('min value : %s' % min_value)
838-
print('max value : %s' % max_value)
839-
print('input scale : %s' % input_scale)
840-
print('output scale : %s' % output_scale)
841-
print('ctl render params : %s' % params)
842-
print('ctl release path : %s' % ctl_release_path)
843-
print('bit depth of input : %s' % bit_depth)
844-
print('cleanup temp images : %s' % cleanup)
832+
print('Lut : %s' % lut)
833+
print('Format : %s' % format)
834+
print('CTLs : %s' % ctls)
835+
print('Lut Res 1d : %s' % lut_resolution_1d)
836+
print('Lut Res 3d : %s' % lut_resolution_3d)
837+
print('Min Value : %s' % min_value)
838+
print('Max Value : %s' % max_value)
839+
print('Input Scale : %s' % input_scale)
840+
print('Output Scale : %s' % output_scale)
841+
print('CTL Render Params : %s' % params)
842+
print('CTL Release Path : %s' % ctl_release_path)
843+
print('Input Bit Depth : %s' % bit_depth)
844+
print('Cleanup Temp Images : %s' % cleanup)
845845

846846
if generate_1d:
847847
generate_1d_LUT_from_CTL(lut,
@@ -869,7 +869,7 @@ def main():
869869
ctl_release_path,
870870
format=format)
871871
else:
872-
print(('\n\nNo LUT generated. '
872+
print(('\n\nNo LUT generated! '
873873
'You must choose either 1D or 3D LUT generation\n\n'))
874874

875875

aces_1.0.0/python/aces_ocio/utilities.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,5 @@ def unpack_default(iterable, length=3, default=None):
289289
iterable
290290
"""
291291

292-
return itertools.islice(itertools.chain(iter(iterable),
293-
itertools.repeat(default)),
294-
length)
292+
return itertools.islice(
293+
itertools.chain(iter(iterable), itertools.repeat(default)), length)

0 commit comments

Comments
 (0)