Skip to content

Pin synapse-api 2.6.1 (signed spike threshold); release 2.8.5 - #199

Merged
calvinleng-science merged 3 commits into
mainfrom
calvin/signedness-api-issue
Oct 27, 2026
Merged

calvinleng-science merged 3 commits into
mainfrom
calvin/signedness-api-issue

Conversation

@calvinleng-science

@calvinleng-science calvinleng-science commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Points the synapse-api submodule at 2.6.1 (sciencecorp/synapse-api#86), where Thresholder.threshold_uV becomes int32 so a threshold can describe negative- as well as positive-going events. With the old pin the client rejects a negative threshold before sending (ValueError: Value out of range).

  • _api_version.py → 2.6.1, package → 2.8.5.
  • New test: a negative threshold round-trips through SpikeDetector and the wire.
  • 238/238 tests pass. Verified end to end against a device: a negative threshold fires on negative-going events and stays silent below the signal's trough.

@calvinleng-science
calvinleng-science force-pushed the calvin/signedness-api-issue branch from ba7d0b2 to 234d539 Compare October 27, 2026 02:19
@calvinleng-science
calvinleng-science merged commit 72968b1 into main Oct 27, 2026
2 checks passed
@calvinleng-science
calvinleng-science deleted the calvin/signedness-api-issue branch October 27, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant