Skip to content

Commit

Permalink
chore: Autoformat code (#29)
Browse files Browse the repository at this point in the history
Co-authored-by: dbirman <[email protected]>
  • Loading branch information
kjy5 and dbirman authored Jun 5, 2024
1 parent 5270806 commit ad4f468
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 ad4f468

Please sign in to comment.