From 96999cc9554dc1219008078f473e5ae7717830cf Mon Sep 17 00:00:00 2001 From: kjy5 Date: Fri, 29 Mar 2024 21:34:59 +0000 Subject: [PATCH] chore: Autoformat code --- src/vbl_aquarium/build.py | 2 +- src/vbl_aquarium/models/dock.py | 2 ++ src/vbl_aquarium/models/urchin.py | 9 ++++++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/vbl_aquarium/build.py b/src/vbl_aquarium/build.py index 1c9f11a..ac4b463 100644 --- a/src/vbl_aquarium/build.py +++ b/src/vbl_aquarium/build.py @@ -57,7 +57,7 @@ def remove_ignored_classes(module): # Move using statement to top output = "using System;\n" + output - + if "using UnityEngine;" in output: output = "using UnityEngine;\n" + output.replace("using UnityEngine;", "") diff --git a/src/vbl_aquarium/models/dock.py b/src/vbl_aquarium/models/dock.py index 1999f1a..f711fd3 100644 --- a/src/vbl_aquarium/models/dock.py +++ b/src/vbl_aquarium/models/dock.py @@ -13,9 +13,11 @@ class UploadModel(VBLBaseModel): data: str password: str + class DownloadModel(VBLBaseModel): password: str + # Models for sending save/load messages class SaveModel(VBLBaseModel): bucket: str diff --git a/src/vbl_aquarium/models/urchin.py b/src/vbl_aquarium/models/urchin.py index f4f5028..572a62a 100644 --- a/src/vbl_aquarium/models/urchin.py +++ b/src/vbl_aquarium/models/urchin.py @@ -76,10 +76,12 @@ class CameraMode(str, Enum): controllable: bool main: bool + class CameraRotationModel(VBLBaseModel): start_rotation: Vector3 end_rotation: Vector3 + # Individual mesh neuron @@ -114,8 +116,9 @@ class ParticleGroupModel(VBLBaseModel): # Utilities - + + class ColormapModel(VBLBaseModel): - name: str = '' + name: str = "" min: float = 0 - max: float = 1 \ No newline at end of file + max: float = 1