Skip to content

Commit 8782020

Browse files
authored
Merge pull request #253 from AllenNeuralDynamics/hot_fix_photometry
only stopping photometry in the d box
2 parents ccd974c + 7f59bb2 commit 8782020

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)