Fix "PEP8" coding style violations.
[OpenColorIO-Configs.git] / aces_1.0.0 / python / aces_ocio / colorspaces / arri.py
index e0d1a3f..534bece 100644 (file)
@@ -16,7 +16,6 @@ import PyOpenColorIO as ocio
 import aces_ocio.generate_lut as genlut
 from aces_ocio.utilities import ColorSpace, mat44_from_mat33, sanitize
 
-
 __author__ = 'ACES Developers'
 __copyright__ = 'Copyright (C) 2014 - 2015 - ACES Developers'
 __license__ = ''
@@ -55,7 +54,7 @@ def create_log_c(gamut,
     if transfer_function == '':
         name = 'Linear - ARRI %s' % gamut
     if gamut == '':
-        name = '%s (EI%s)' % (transfer_function, exposure_index)
+        name = 'Curve - %s (EI%s)' % (transfer_function, exposure_index)
 
     cs = ColorSpace(name)
     cs.description = name
@@ -64,6 +63,10 @@ def create_log_c(gamut,
     cs.family = 'Input/ARRI'
     cs.is_data = False
 
+    if gamut and transfer_function:
+        cs.aces_transform_id = (
+            'IDT.ARRI.Alexa-v3-logC-EI%s.a1.v1' % exposure_index)
+
     # A linear space needs allocation variables
     if transfer_function == '':
         cs.allocation_type = ocio.Constants.ALLOCATION_LG2
@@ -202,7 +205,7 @@ def create_colorspaces(lut_directory, lut_resolution_1d):
             'LogC',
             lut_directory,
             lut_resolution_1d,
-            ["%sei%s_%s" % ("logc3", str(EI), "arriwide")])
+            ['%sei%s_%s' % ('logc3', str(EI), 'arriwide')])
         colorspaces.append(log_c_EI_full)
 
     # Linearization Only
@@ -214,7 +217,7 @@ def create_colorspaces(lut_directory, lut_resolution_1d):
             'LogC',
             lut_directory,
             lut_resolution_1d,
-            ["crv_%sei%s" % ("logc3", str(EI))])
+            ['crv_%sei%s' % ('logc3', str(EI))])
         colorspaces.append(log_c_EI_linearization)
 
     # Primaries Only
@@ -225,7 +228,7 @@ def create_colorspaces(lut_directory, lut_resolution_1d):
         'LogC',
         lut_directory,
         lut_resolution_1d,
-        ["%s_%s" % ('lin', "arriwide")])
+        ['%s_%s' % ('lin', 'arriwide')])
     colorspaces.append(log_c_EI_primaries)
 
     return colorspaces