From 514fc8cdc945130aa8cc98061896ce915e3ef6e5 Mon Sep 17 00:00:00 2001 From: Louis Mandel Date: Tue, 24 Jun 2025 09:50:33 -0400 Subject: [PATCH] fix: handling of processor type in granite-io Signed-off-by: Louis Mandel --- src/pdl/pdl_granite_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pdl/pdl_granite_io.py b/src/pdl/pdl_granite_io.py index a0797edc6..6b31dbcbe 100644 --- a/src/pdl/pdl_granite_io.py +++ b/src/pdl/pdl_granite_io.py @@ -55,7 +55,7 @@ def processor_of_block(block: GraniteioModelBlock): if processor.type is None: processor_type = model else: - processor_type = value_of_expr(processor) + processor_type = value_of_expr(processor.type) assert isinstance( processor_type, str