Fix default mutable arguments.
[OpenColorIO-Configs.git] / aces_1.0.0 / python / aces_ocio / colorspaces / gopro.py
index b208537..f44dde2 100644 (file)
@@ -54,7 +54,7 @@ def create_protune(gamut,
     if transfer_function == '':
         name = 'Linear - %s - Experimental' % gamut
     if gamut == '':
-        name = '%s' % transfer_function
+        name = 'Curve - %s' % transfer_function
 
     cs = ColorSpace(name)
     cs.description = name
@@ -99,7 +99,7 @@ def create_protune(gamut,
             'interpolation': 'linear',
             'direction': 'forward'})
 
-    if gamut == 'Protune Gamut':
+    if gamut == 'Protune Native':
         cs.to_reference_transforms.append({
             'type': 'matrix',
             'matrix': [0.533448429, 0.32413911, 0.142412421, 0,
@@ -136,7 +136,7 @@ def create_colorspaces(lut_directory, lut_resolution_1d):
         'Protune',
         lut_directory,
         lut_resolution_1d,
-        ["protuneflat_protunegamutexp"])
+        ['protuneflat_protunegamutexp'])
     colorspaces.append(protune_1)
 
     # Linearization Only
@@ -146,7 +146,7 @@ def create_colorspaces(lut_directory, lut_resolution_1d):
         'Protune',
         lut_directory,
         lut_resolution_1d,
-        ["crv_protuneflat"])
+        ['crv_protuneflat'])
     colorspaces.append(protune_2)
 
     # Primaries Only
@@ -156,7 +156,7 @@ def create_colorspaces(lut_directory, lut_resolution_1d):
         'Protune',
         lut_directory,
         lut_resolution_1d,
-        ["lin_protunegamutexp"])
+        ['lin_protunegamutexp'])
     colorspaces.append(protune_3)
 
     return colorspaces