Skip to content

Commit

Permalink
STY: update line wrapping and comment format following PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
mh105 committed Jun 5, 2024
1 parent 584c34e commit 3d753a3
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,11 @@ def runSetupProcedure(self, calibration_args={}):
* C = Start Calibration
* V = Start Validation
* ENTER should be pressed at the end of a calibration or validation to accept the calibration, or in the case of validation, use the option drift correction that can be performed as part of the validation process in the EyeLink system.
* ESC can be pressed at any time to exit the current state of the setup procedure and return to the initial blank screen state.
* ENTER should be pressed at the end of a calibration or validation to accept the calibration,
or in the case of validation, use the option drift correction that can be performed as part of
the validation process in the EyeLink system.
* ESC can be pressed at any time to exit the current state of the setup procedure and return to
the initial blank screen state.
* O = Exit the runSetupProcedure method and continue with the experiment.
"""
try:
Expand Down Expand Up @@ -499,7 +502,7 @@ def setRecordingState(self, recording):
while starter_thread.is_alive() or Computer.getTime()-stime < 0.5:
gevent.sleep(0.001)
starter_thread.join()
#print2err('start: ', Computer.getTime()-stime)
# print2err('start: ', Computer.getTime()-stime)
if Computer.platform == 'win32' and EyeTracker._keyboard:
EyeTracker._keyboard._syncPressedKeyState()
EyeTrackerDevice.enableEventReporting(self, True)
Expand All @@ -512,7 +515,7 @@ def setRecordingState(self, recording):
while stopper_thread.is_alive() or Computer.getTime()-stime < 0.5:
gevent.sleep(0.001)
stopper_thread.join()
#print2err('stop: ', Computer.getTime() - stime)
# print2err('stop: ', Computer.getTime() - stime)
if Computer.platform == 'win32' and EyeTracker._keyboard:
EyeTracker._keyboard._syncPressedKeyState()
EyeTrackerDevice.enableEventReporting(self, False)
Expand Down

0 comments on commit 3d753a3

Please sign in to comment.