From faf084dd617a3186445e0e9fb63e8dc86eb108da Mon Sep 17 00:00:00 2001 From: Cameron Devine Date: Wed, 6 Nov 2024 23:48:57 -0800 Subject: [PATCH] modifying the tile preview topic with a new name and getting ready for a base 64 string --- TEM_comms/__init__.py | 2 +- TEM_comms/tile/__init__.py | 4 ++-- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TEM_comms/__init__.py b/TEM_comms/__init__.py index 6199595..343ed73 100644 --- a/TEM_comms/__init__.py +++ b/TEM_comms/__init__.py @@ -22,7 +22,7 @@ "stage.motion.status": stage.motion.Status, "stage.rotation.command": stage.rotation.Command, "stage.rotation.status": stage.rotation.Status, - "tile.jpeg": tile.JPEG, + "tile.preview": tile.Preview, "tile.minimap": tile.Minimap, "tile.processed": tile.Processed, "tile.raw": tile.Raw, diff --git a/TEM_comms/tile/__init__.py b/TEM_comms/tile/__init__.py index fb49784..438c345 100644 --- a/TEM_comms/tile/__init__.py +++ b/TEM_comms/tile/__init__.py @@ -2,9 +2,9 @@ from . import statistics -class JPEG(BaseMessage): +class Preview(BaseMessage): tile_id: str - path: str + image: str class Minimap(BaseMessage): diff --git a/pyproject.toml b/pyproject.toml index 721ac9c..a5d137d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pigeon-tem-comms" -version = "0.4.5" +version = "0.4.6" authors = [ { name="Cameron Devine", email="cameron.devine@alleninstitute.org" }, ]