Skip to content

Commit 99f56fe

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 627e6f7 commit 99f56fe

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

pupil_capture/pupil_capture_lsl_relay/channel.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
License details are in the file license.txt, distributed as part of this software.
88
----------------------------------------------------------------------------------~(*)
99
"""
10+
1011
import numpy as np
1112
from pylsl import XMLElement
1213

@@ -189,8 +190,8 @@ def make_extract_normpos(dim):
189190

190191

191192
def make_extract_gaze_point_3d(dim):
192-
return (
193-
lambda gaze: gaze["gaze_point_3d"][dim] if "gaze_point_3d" in gaze else np.nan
193+
return lambda gaze: (
194+
gaze["gaze_point_3d"][dim] if "gaze_point_3d" in gaze else np.nan
194195
)
195196

196197

pupil_capture/pupil_capture_lsl_relay/fixations_scene_camera.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
License details are in the file license.txt, distributed as part of this software.
88
----------------------------------------------------------------------------------~(*)
99
"""
10+
1011
from .channel import (
1112
confidence_channel,
1213
fixation_dispersion_channel,

pupil_capture/pupil_capture_lsl_relay/gaze_scene_camera.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
License details are in the file license.txt, distributed as part of this software.
88
----------------------------------------------------------------------------------~(*)
99
"""
10+
1011
from .channel import (
1112
confidence_channel,
1213
diameter_2d_channels,

pupil_capture/pupil_capture_lsl_relay/outlet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
License details are in the file license.txt, distributed as part of this software.
88
----------------------------------------------------------------------------------~(*)
99
"""
10+
1011
import abc
1112
import logging
1213
from typing import Optional, Sequence

pupil_capture/pupil_capture_lsl_relay/pupillometry_eye_camera.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
License details are in the file license.txt, distributed as part of this software.
88
----------------------------------------------------------------------------------~(*)
99
"""
10+
1011
from .channel import (
1112
confidence_channel,
1213
diameter_2d_channels,

0 commit comments

Comments
 (0)