Skip to content

Commit

Permalink
add equal exposures to channel sequencing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ieivanov committed Sep 6, 2023
1 parent 9c3311b commit f7e9f4d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pycromanager/test/test_acquisition.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,16 @@ def test_channel_seq_acq(launch_mm_headless, setup_data_folder):
Test that channels can be sequenced
"""
channels = ['DAPI', 'FITC', 'Rhodamine', 'Cy5']
channel_exposures_ms = [10] * len(channels) # exposure times may be provided, but must be all equal

mmc = Core()
mmc.set_exposure(2)
mmc.set_property('LED', 'Sequence', 'On')

events = multi_d_acquisition_events(channel_group='Channel-Multiband',
channels=['DAPI', 'FITC', 'Rhodamine', 'Cy5'])
channels=channels,
channel_exposures_ms=channel_exposures_ms)

def hook_fn(_events):
assert check_acq_sequenced(_events, len(events)), 'Sequenced acquisition is not built correctly'
Expand Down

0 comments on commit f7e9f4d

Please sign in to comment.