aeye-lab / pymovements

A python package for processing eye movement data
https://pymovements.readthedocs.io
MIT License
61 stars 12 forks source link

fix: Infer correct number of components in gaze init #521

Closed dkrako closed 1 year ago

dkrako commented 1 year ago

Description

This PR implements a more robust way of inferring the number of components in a GazeDataFrame.

Fixes issue #514

Type of change

How Has This Been Tested?

Checklist:

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (2e59d0c) 100.00% compared to head (19007d4) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #521 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 48 48 Lines 2117 2129 +12 Branches 511 516 +5 ========================================= + Hits 2117 2129 +12 ``` | [Files Changed](https://app.codecov.io/gh/aeye-lab/pymovements/pull/521?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab) | Coverage Δ | | |---|---|---| | [src/pymovements/gaze/gaze\_dataframe.py](https://app.codecov.io/gh/aeye-lab/pymovements/pull/521?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab#diff-c3JjL3B5bW92ZW1lbnRzL2dhemUvZ2F6ZV9kYXRhZnJhbWUucHk=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.