Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrako committed Sep 14, 2023
1 parent 61bd27c commit 2cfc0cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pymovements/gaze/gaze_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,12 +636,12 @@ def _infer_eye_components(self, eye: str) -> tuple[int, int]:
self._check_n_components()

if eye == 'auto':
# Order of inference: cyclops, right, left
# Order of inference: cyclops, right, left.
if self.n_components == 6:
eye_components = 4, 5
elif self.n_components == 4:
eye_components = 2, 3
else: # We already checked validity, must be 2.
else: # We already checked number of components, must be 2.
eye_components = 0, 1
elif eye == 'left':
if isinstance(self.n_components, int) and self.n_components < 4:
Expand Down

0 comments on commit 2cfc0cd

Please sign in to comment.