Skip to content

Conversation

@marktsuchida
Copy link
Member

Closes #773.

These "tags" contain device label + key + value.

The code deleted here was setting the keys CameraChannelIndex/Name under the device label of the physical camera (as opposed to the multi-camera device itself). There is no code in MMCoreJ, MMStudio, plugins, and acquisition engines (including pymmcore-plus) that ever reads these tags, so remove them entirely.

Aside from being a red herring when trying to understand tag usage, there was no correct way to add/remove tags at start and stop of sequence acquisition, because application code is not technically required to call stopSequenceAcquisition() after a finite sequence acquisition.

(In the case of ArduinoCounter and CameraPulser, the equivalent code was already missing from one of the 2 overloads of
StartSequenceAcquisition.)

There was no code calling RemoveTag() for these tags.

Multi Camera, ArduinoCounter, and CameraPulser still retain code that sets CameraChannelIndex/Name under its own device label; this is done when the physical cameras are set and remains unchanged here.

These "tags" contain device label + key + value.

The code deleted here was setting the keys CameraChannelIndex/Name under
the device label of the physical camera (as opposed to the multi-camera
device itself). There is no code in MMCoreJ, MMStudio, plugins, and
acquisition engines (including pymmcore-plus) that ever reads these
tags, so remove them entirely.

Aside from being a red herring when trying to understand tag usage,
there was no correct way to add/remove tags at start and stop of
sequence acquisition, because application code is not technically
required to call stopSequenceAcquisition() after a finite sequence
acquisition.

(In the case of ArduinoCounter and CameraPulser, the equivalent code was
already missing from one of the 2 overloads of
StartSequenceAcquisition.)

There was no code calling RemoveTag() for these tags.

Multi Camera, ArduinoCounter, and CameraPulser still retain code that
sets CameraChannelIndex/Name under its own device label; this is done
when the physical cameras are set and remains unchanged here.
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.

Inconsistent metadata from Multi Camera

1 participant