From b00a923f0e53f72d718c20be5d33ec377a28ffda Mon Sep 17 00:00:00 2001 From: calvinleng-science Date: Wed, 10 Jun 2026 14:22:45 -0700 Subject: [PATCH 1/2] Pin synapse-api to main (2.4.1) and support peripheral_id in impedance queries --- synapse-api | 2 +- synapse/_api_version.py | 2 +- synapse/cli/query.py | 1 + test_query.json | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/synapse-api b/synapse-api index 27b6261e..cacec782 160000 --- a/synapse-api +++ b/synapse-api @@ -1 +1 @@ -Subproject commit 27b6261e253dc0163b62b01fb8b02c2710091958 +Subproject commit cacec782d383336ce42434716b7b911d3bfda04e diff --git a/synapse/_api_version.py b/synapse/_api_version.py index 5c7f6df9..cb64f8d4 100644 --- a/synapse/_api_version.py +++ b/synapse/_api_version.py @@ -1,2 +1,2 @@ # Generated from synapse-api/VERSION by setup.py. Do not edit. -SYNAPSE_API_VERSION = "2.4.0" +SYNAPSE_API_VERSION = "2.4.1" diff --git a/synapse/cli/query.py b/synapse/cli/query.py index b26a11ae..76c008b1 100644 --- a/synapse/cli/query.py +++ b/synapse/cli/query.py @@ -146,6 +146,7 @@ def handle_impedance_stream(self, request): self.console.log( f"[cyan] Starting impedance_stream with {electrode_count} electordes" + f" on peripheral {query.peripheral_id}" ) measurements_received = 0 diff --git a/test_query.json b/test_query.json index 8b2ea1d2..219a1ed6 100644 --- a/test_query.json +++ b/test_query.json @@ -1,6 +1,7 @@ { "query_type": "kImpedance", "impedance_query": { + "peripheral_id": 1, "electrode_ids": [116, 118] } } From d60827ff903b46e507a465823ab24d5c18ab101e Mon Sep 17 00:00:00 2001 From: calvinleng-science Date: Wed, 10 Jun 2026 14:51:44 -0700 Subject: [PATCH 2/2] chore: bump version 2.7.3 --- setup.py | 2 +- synapse/tests/cli/__init__.py | 0 synapse/utils/model_converter/docker/__init__.py | 0 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 synapse/tests/cli/__init__.py create mode 100644 synapse/utils/model_converter/docker/__init__.py diff --git a/setup.py b/setup.py index 192fc9d8..50206134 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ def stamp_api_version(): setup( name="science-synapse", - version="2.7.2", + version="2.7.3", description="Client library and CLI for the Synapse API", author="Science Team", author_email="team@science.xyz", diff --git a/synapse/tests/cli/__init__.py b/synapse/tests/cli/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/synapse/utils/model_converter/docker/__init__.py b/synapse/utils/model_converter/docker/__init__.py new file mode 100644 index 00000000..e69de29b