Skip to content

SCAPE: only write the position list when saving images during the acuisition#429

Merged
bls337 merged 1 commit into
micro-manager:mainfrom
bls337:main
Jul 4, 2026
Merged

SCAPE: only write the position list when saving images during the acuisition#429
bls337 merged 1 commit into
micro-manager:mainfrom
bls337:main

Conversation

@bls337

@bls337 bls337 commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

position_list.pos was being written to the save directory whenever multiple positions were in use, regardless of whether "save images during acquisition" was checked. The acq_settings.json write right above it already respected that checkbox, this one didn't, so leaving "save images" unchecked with multiple positions configured still silently created a save directory containing just a stray position_list.pos file.

Change

AcquisitionEngineScape.java: added isSavingImagesDuringAcquisition() to the condition to prevent the position-list write, matching the existing acq_settings.json check.

// write the position list if we are using multiple positions
if (model_.acquisitions().settings().isSavingImagesDuringAcquisition()
        && model_.acquisitions().settings().isUsingMultiplePositions()) {

@bls337 bls337 merged commit 54dc4c7 into micro-manager:main Jul 4, 2026
1 check failed
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