Skip to content

Copy as command: the Log carries the terminal line and Python snippet of every run - #17

Merged
guijacquemet merged 1 commit into
mainfrom
claude/copy-command
Oct 7, 2026
Merged

guijacquemet merged 1 commit into
mainfrom
claude/copy-command

Conversation

@guijacquemet

Copy link
Copy Markdown
Contributor

Host side of Copy as command (Tools PR: CellMigrationLab/LabConstrictor-Tools#30). The SciJava dialog is modal and cannot hold a button, so after every run the Log window shows the terminal line and the Python snippet that repeat it outside Fiji (select and copy from the Log). The file behind each open image is used; an image that was never saved gets a placeholder and a note. Same text as the Tools reference builder.

New case copy_as_command_repeats_the_run; I also ran the copied line in a shell and it gave the same results. Full suite: 51/51 pass.

Open question for review: should there also be a menu entry such as "Plugins > LabConstrictor > Copy last run as command" that puts it on the clipboard?

🤖 Generated with Claude Code

https://claude.ai/code/session_01Y2SN8SuEakTdiWy3F2WUqN


Generated by Claude Code

…ppet of every run

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y2SN8SuEakTdiWy3F2WUqN
@guijacquemet
guijacquemet merged commit 7a51bbf into main Oct 7, 2026
3 checks passed
@guijacquemet
guijacquemet deleted the claude/copy-command branch October 7, 2026 19:25
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.

2 participants