henrypinkard / Pygellan

[DEPREACATED] Python interface for data-driven microscopy with Micro-manager/Micro-Magellan
BSD 3-Clause "New" or "Revised" License
14 stars 3 forks source link

setting the channel group via API doesn't update explorer GUI #18

Closed tlnagy closed 5 years ago

tlnagy commented 5 years ago

Latest master on both micromanager (nico's branch) and pygellan.

Running

from pygellan.acquire import MagellanBridge
import os

#establish communication with Magellan
bridge = MagellanBridge()
#get object representing micro-magellan API
magellan = bridge.get_magellan()

acquistions = magellan.get_acquisitions()
#grab the first acquisition in the list
acq = acquistions[0]
acq_settings = acq.get_acquisition_settings()

#channel settings
acq_settings.set_channel_group('Channel')
image
henrypinkard commented 5 years ago

Hey @tlnagy, I think I confused myself here. This is the explore channel group, not the acquisition channel group, so it actually shouldn't be updated.

BTW, I have put a lot of effort into redesigning the Magellan image viewer window. Available in next micro-manager gamma build after Nico merges this (https://github.com/nicost/micro-manager/pull/74). This should make it fairly straightforward to add support for imaging multi-well plates, if you're still interested in that.