Skip to content

Commit 7f59bb2

Browse files
committed
only stopping photometry in the d box
1 parent ccd974c commit 7f59bb2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/foraging_gui/Foraging.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2308,6 +2308,8 @@ def _StopPhotometry(self):
23082308
'''
23092309
Stop either bleaching or photometry
23102310
'''
2311+
if self.box_letter != "D":
2312+
return
23112313
logging.info('Checking that photometry is not running')
23122314
try:
23132315
ser = serial.Serial(self.Teensy_COM, 9600, timeout=1)

0 commit comments

Comments
 (0)