Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions PYME/Acquire/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ def __init__(self, taskList, startFrame, dwellTime, metadataEntries=[], prefligh
"""

# add a check to ensure that dwell times are sensible
preflightList.append(C('(self.dwellTime*scope.cam.GetIntegTime() > .1) or not scope.cam.contMode',
pf = list(preflightList)
pf.append(C('(self.dwellTime*scope.cam.GetIntegTime() > .1) or not scope.cam.contMode',
'Z step dwell time too short - increase either dwell time or integration time, or set camera mode to single shot / software triggered'))

TaskListProtocol.__init__(self, taskList, metadataEntries, preflightList,
filename)
TaskListProtocol.__init__(self, taskList, metadataEntries, preflightList=pf,filename=filename)

self.startFrame = startFrame
self.dwellTime = dwellTime
Expand Down