Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 1, 2024
1 parent 554966e commit 1c818fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eye2bids/edf2bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def _2eyesmode(df: pd.DataFrame) -> bool:
def _calibrations(df: pd.DataFrame) -> pd.DataFrame:
return df[df[3] == "CALIBRATION"]


def _has_calibration(df: pd.DataFrame) -> bool:
return not _calibrations(df).empty

Expand Down

0 comments on commit 1c818fa

Please sign in to comment.