Skip to content

Commit

Permalink
Merge pull request #253 from AllenNeuralDynamics/hot_fix_photometry
Browse files Browse the repository at this point in the history
only stopping photometry in the d box
  • Loading branch information
alexpiet authored Feb 14, 2024
2 parents ccd974c + 7f59bb2 commit 8782020
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/foraging_gui/Foraging.py
Original file line number Diff line number Diff line change
Expand Up @@ -2308,6 +2308,8 @@ def _StopPhotometry(self):
'''
Stop either bleaching or photometry
'''
if self.box_letter != "D":
return
logging.info('Checking that photometry is not running')
try:
ser = serial.Serial(self.Teensy_COM, 9600, timeout=1)
Expand Down

0 comments on commit 8782020

Please sign in to comment.