Skip to content

Commit

Permalink
Merge branch 'main' into quick-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
julia-pfarr authored Jan 22, 2025
2 parents b41d492 + 71df666 commit 9880e93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ repos:
args: [--autofix, --indent, '4']

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v1.14.1
hooks:
- id: mypy
additional_dependencies: [types-requests, types-PyYAML, numpy]
args: [--config-file=pyproject.toml]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
rev: v0.9.2
hooks:
# Run the linter.
- id: ruff
Expand Down
6 changes: 2 additions & 4 deletions eye2bids/edf2bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,7 @@ def edf2bids(

if not events_asc_file.exists():
e2b_log.error(
"The following .edf input file could not be converted to .asc:"
f"{input_file}"
f"The following .edf input file could not be converted to .asc:{input_file}"
)

# SIDECARS #
Expand Down Expand Up @@ -590,8 +589,7 @@ def edf2bids(
samples_asc_file = _convert_edf_to_asc_samples(input_file)
if not samples_asc_file.exists():
e2b_log.error(
"The following .edf input file could not be converted to .asc:"
f"{input_file}"
f"The following .edf input file could not be converted to .asc:{input_file}"
)

samples = pd.read_csv(samples_asc_file, sep="\t", header=None)
Expand Down

0 comments on commit 9880e93

Please sign in to comment.