Skip to content

Commit

Permalink
chore: Autoformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman authored and github-actions[bot] committed May 9, 2024
1 parent 5270806 commit 9b51592
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/vbl_aquarium/generate_cs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions src/vbl_aquarium/models/urchin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 9b51592

Please sign in to comment.