Skip to content

Commit

Permalink
Merge branch 'main' into do-not-distribute-spec
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff authored Oct 4, 2023
2 parents 420c87a + adfa082 commit 8f35993
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"

sphinx:
configuration: docs/conf.py

python:
install:
- method: pip
path: .
extra_requirements:
- export
- requirements: docs/requirements-rtd.txt
3 changes: 3 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ authors:
- given-names: "Felix"
family-names: "Klotzsche"
orcid: "https://orcid.org/0000-0003-3985-2481"
- given-names: "Benjamin"
family-names: "Beasley"
orcid: "https://orcid.org/0009-0002-6936-5959"
type: software
repository-code: "https://github.com/bids-standard/pybv"
url: "https://pybv.readthedocs.io/"
Expand Down
3 changes: 1 addition & 2 deletions pybv/tests/test_bv_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import mne
import numpy as np
import pytest
from mne.utils import requires_version
from numpy.testing import assert_allclose, assert_array_equal

from pybv.io import (
Expand Down Expand Up @@ -406,7 +405,6 @@ def test_bad_meas_date(tmpdir, meas_date, match):
)


@requires_version("mne", min_version="0.22")
@pytest.mark.parametrize(
"ch_names_tricky",
[
Expand All @@ -416,6 +414,7 @@ def test_bad_meas_date(tmpdir, meas_date, match):
)
def test_comma_in_ch_name(tmpdir, ch_names_tricky):
"""Test that writing channel names with special characters works."""
mne = pytest.importorskip("mne", minversion="0.22")
# write and read data to BV format
write_brainvision(
data=data,
Expand Down

0 comments on commit 8f35993

Please sign in to comment.