Skip to content

Physarum imaging and estop - #5

Merged
qquais merged 12 commits into
mainfrom
physarum-imaging-and-estop
Nov 3, 2026
Merged

qquais merged 12 commits into
mainfrom
physarum-imaging-and-estop

Conversation

@qquais

@qquais qquais commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This branch held the NIS-Elements bridge work (Oct 16–30). That work has now moved to its own repo, BioNanomics/nis-elements-mcp. Compared with main, the net effect is that microscope-agent contains only the Baumer camera + Ti2 stage side.

What changes compared with main

  • Server renamed: mcp_server/server_loop.py and loop_tools.py become mcp_server/baumer_ti2/baumer_ti2_server.py and baumer_ti2_tools.py. New command baumer-ti2-mcp; the old confocal-mcp still works, and tool names are unchanged.
  • NIS-Elements removed: the bridge job, NIS server and tools, NIS event log and monitor, NIS port probe, docs/nis-bridge.md and their tests. nis_sdk.py and nis_mock.py stay; they drive the Ti2 stage, not NIS-Elements.
  • E-stop shared with NIS: the stop file moves from ~/.confocal-mcp/ESTOP to ~/.nis-mcp/ESTOP (override with NIS_ESTOP_FILE), the same file nis-elements-mcp checks. One STOP stops both. NIS_NO_ESTOP_PANEL or CONFOCAL_NO_ESTOP_PANEL turns off the panel.
  • Harness, timelapse, EAA integration, tests, README and CHANGELOG are updated for the new names.
  • Tests: 443 pass, 99.9% coverage, mock backend only.

Before merging, note: CONFOCAL_ESTOP_FILE is no longer read. If any MCP config or script sets it, change it to NIS_ESTOP_FILE.

qquais added 12 commits October 16, 2026 21:05
…orker thread)

Capture faulted nis_ar.exe in Qt5Core.dll on 2026-10-16. The bridge now does
status, XY moves and objective changes only; capture and ND runs are started
in NIS by hand. The three MCP tools are no longer registered.
…repo

The nis-elements-mcp package moved, with its history, to
BioNanomics/nis-elements-mcp (bridge/). Removed here: packages/, mcp_server/nis/,
the NIS forwarders in acquisition/, nis_port_probe.py, docs/nis-bridge.md, the
NIS tests, the confocal-mcp-nis command and the package's CI job.

acquisition/estop.py and estop_panel.py are real modules again, with their
tests, and keep the shared e-stop file (~/.nis-mcp/ESTOP) and panel mutex, so
one STOP still stops the Ti2 scripts and NIS together. nis_sdk.py and
nis_mock.py stay: they drive the Ti2 stage, not NIS-Elements.
@qquais
qquais merged commit f46e1a1 into main Nov 3, 2026
4 checks passed
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