From a9cdb33c0c68fc930c32ae3aefd9dfe25275215d Mon Sep 17 00:00:00 2001 From: "Gabriel A. Devenyi" Date: Wed, 22 Jul 2026 12:24:31 -0400 Subject: [PATCH] Fix VisuCoreWordType spelling for 8-bit unsigned 2dseq The 2dseq word-type config matched `_8BIT_USGN_INT`, but ParaVision's RECO_WORDTYPE enum (prog/include/recotyp.h) and the on-disk `VisuCoreWordType` value are spelled `_8BIT_UNSGN_INT`. As written, an 8-bit unsigned 2dseq matches no numpy_dtype branch, so the property is never set and loading fails with MissingProperty. Co-Authored-By: Claude Fable 5 --- brukerapi/config/properties_2dseq_core.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brukerapi/config/properties_2dseq_core.json b/brukerapi/config/properties_2dseq_core.json index 69147f6..07e610f 100644 --- a/brukerapi/config/properties_2dseq_core.json +++ b/brukerapi/config/properties_2dseq_core.json @@ -30,7 +30,7 @@ { "cmd": "np.dtype('uint8').newbyteorder('<')", "conditions": [ - ["#VisuCoreWordType",["_8BIT_USGN_INT"]], + ["#VisuCoreWordType",["_8BIT_UNSGN_INT"]], ["#VisuCoreByteOrder",["littleEndian"]] ] }, @@ -58,7 +58,7 @@ { "cmd": "np.dtype('uint8').newbyteorder('>')", "conditions": [ - ["#VisuCoreWordType",["_8BIT_USGN_INT"]], + ["#VisuCoreWordType",["_8BIT_UNSGN_INT"]], ["#VisuCoreByteOrder",["bigEndian"]] ] }