Skip to content

Commit 2c36aeb

Browse files
committed
Ensure that there are no empty *ACEStransformID* in the *AMF* components.
Signed-off-by: Thomas Mansencal <[email protected]>
1 parent 89932e2 commit 2c36aeb

File tree

1 file changed

+5
-1
lines changed
  • opencolorio_config_aces/config/reference/discover

1 file changed

+5
-1
lines changed

opencolorio_config_aces/config/reference/discover/classify.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,11 @@ def generate_amf_components(
15091509
transform["previousEquivalentTransformIds"]
15101510
)
15111511

1512-
return {key: sorted(set(value)) for key, value in amf_components.items() if value}
1512+
return {
1513+
key: sorted({transform_id for transform_id in transform_ids if transform_id})
1514+
for key, transform_ids in amf_components.items()
1515+
if transform_ids
1516+
}
15131517

15141518

15151519
def filter_amf_components(

0 commit comments

Comments
 (0)