diff --git a/src/vbl_aquarium/generate_cs.py b/src/vbl_aquarium/generate_cs.py index 82c136b..1712976 100644 --- a/src/vbl_aquarium/generate_cs.py +++ b/src/vbl_aquarium/generate_cs.py @@ -82,7 +82,6 @@ def pydantic_to_csharp(pydantic_class, class_json): field_data = f"{enum_name} {alias if (alias := data.alias) else name}" if "bytearray" in str(data.annotation): - field_data = f"byte[] {alias if (alias := data.alias) else name}" # finally, deal with arrays diff --git a/src/vbl_aquarium/models/urchin.py b/src/vbl_aquarium/models/urchin.py index 1ba14ac..27d022b 100644 --- a/src/vbl_aquarium/models/urchin.py +++ b/src/vbl_aquarium/models/urchin.py @@ -138,16 +138,19 @@ class CustomMeshModel(VBLBaseModel): # Volumes + class VolumeMetaModel(VBLBaseModel): name: str n_bytes: int colormap: list[Color] visible: bool + class VolumeDataChunk(VBLBaseModel): name: str bytes: str + # Utilities