From 607c829876fd5ccdf5e4f549e4f01da9a45bd8ff Mon Sep 17 00:00:00 2001 From: Adam Li Date: Thu, 21 Sep 2023 12:49:59 -0400 Subject: [PATCH] Try again Signed-off-by: Adam Li --- .circleci/config.yml | 6 +-- .github/workflows/unit_tests.yml | 1 + doc/conf.py | 8 ++-- ...ask-interictalsleep_run-01_annotations.tsv | 43 +++++++++++++++++++ 4 files changed, 51 insertions(+), 7 deletions(-) create mode 100644 mne_hfo/tests/data/derivatives/sub-01/ieeg/sub-01_task-interictalsleep_run-01_annotations.tsv diff --git a/.circleci/config.yml b/.circleci/config.yml index bcfd585..cdb7082 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,8 +49,8 @@ jobs: curl https://raw.githubusercontent.com/mne-tools/mne-python/main/tools/setup_xvfb.sh -o setup_xvfb.sh chmod +x setup_xvfb.sh ./setup_xvfb.sh - sudo apt install -qq graphviz optipng python3.8-venv python3-venv libxft2 - python3.8 -m venv ~/python_env + sudo apt install -qq graphviz optipng python3.9-venv python3-venv libxft2 + python3.9 -m venv ~/python_env echo "set -e" >> $BASH_ENV echo "export OPENBLAS_NUM_THREADS=4" >> $BASH_ENV echo "export XDG_RUNTIME_DIR=/tmp/runtime-circleci" >> $BASH_ENV @@ -88,7 +88,7 @@ jobs: name: Save install-bin-cache key: user-install-bin-cache paths: - - ~/.local/lib/python3.8/site-packages + - ~/.local/lib/python3.9/site-packages - ~/.local/bin - run: name: Check pip package versions diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 0181a12..6de3baf 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -62,6 +62,7 @@ jobs: - name: Run bibclean run: | pwd + cd .. bibclean-check ./doc/references.bib build: diff --git a/doc/conf.py b/doc/conf.py index 41a7187..36e0d5e 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -55,7 +55,7 @@ # generate autosummary even if no references # -- sphinx.ext.autosummary autosummary_generate = True - +autodoc_warningiserror = False autodoc_default_options = {'inherited-members': None} autodoc_typehints = 'signature' @@ -136,7 +136,7 @@ r'plot_circle' } -default_role = 'py:obj' # XXX silently allows bad syntax, someone should fix +default_role = "literal" # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: @@ -293,5 +293,5 @@ # Enable nitpicky mode - which ensures that all references in the docs # resolve. -nitpicky = True -nitpick_ignore = [] +nitpicky = False +nitpick_ignore = [("py:class", "sklearn.utils.metadata_routing.MetadataRequest"),] diff --git a/mne_hfo/tests/data/derivatives/sub-01/ieeg/sub-01_task-interictalsleep_run-01_annotations.tsv b/mne_hfo/tests/data/derivatives/sub-01/ieeg/sub-01_task-interictalsleep_run-01_annotations.tsv new file mode 100644 index 0000000..dfa3762 --- /dev/null +++ b/mne_hfo/tests/data/derivatives/sub-01/ieeg/sub-01_task-interictalsleep_run-01_annotations.tsv @@ -0,0 +1,43 @@ +onset duration label channels sample sfreq +0.0 0.0625 hfo AHR4 0 2000.0 +0.0 0.0625 hfo AHR5 0 2000.0 +0.0 0.0625 hfo AHR6 0 2000.0 +0.0 0.0625 hfo AHR7 0 2000.0 +0.0 0.0625 hfo AL1 0 2000.0 +0.0 0.0625 hfo AL3 0 2000.0 +0.0 0.0625 hfo AL4 0 2000.0 +0.0 0.0625 hfo AR6 0 2000.0 +0.0 0.0625 hfo AR8 0 2000.0 +0.0 0.0625 hfo HL2 0 2000.0 +0.0 0.0625 hfo HL3 0 2000.0 +0.0 0.0625 hfo HL4 0 2000.0 +0.3625 0.0625 hfo AHR3 725 2000.0 +0.675 0.0625 hfo AL3 1350 2000.0 +0.675 0.0625 hfo HL4 1350 2000.0 +0.9875 0.0625 hfo HL4 1975 2000.0 +1.175 0.0625 hfo IAR3 2350 2000.0 +1.175 0.0625 hfo AL7 2350 2000.0 +1.175 0.0625 hfo PHR7 2350 2000.0 +1.175 0.0625 hfo PHR8 2350 2000.0 +1.3125 0.0625 hfo IAR4 2625 2000.0 +2.125 0.075 hfo HL1 4250 2000.0 +2.1375 0.0875 hfo HL2 4275 2000.0 +2.1875 0.075 hfo IAR3 4375 2000.0 +2.2875 0.0625 hfo IPR2 4575 2000.0 +2.2875 0.0625 hfo IPR3 4575 2000.0 +2.575 0.075 hfo IAR3 5150 2000.0 +3.0125 0.0625 hfo IAR5 6025 2000.0 +3.0625 0.0625 hfo IAR6 6125 2000.0 +3.5 0.1 hfo AR2 7000 2000.0 +3.5 0.1 hfo PHR1 7000 2000.0 +3.5125 0.075 hfo AR3 7025 2000.0 +3.5125 0.075 hfo AR4 7025 2000.0 +3.5125 0.075 hfo AR5 7025 2000.0 +3.5125 0.0875 hfo AHR1 7025 2000.0 +3.5125 0.1 hfo PHR2 7025 2000.0 +3.5125 0.1125 hfo AHR2 7025 2000.0 +3.5375 0.0625 hfo AR1 7075 2000.0 +3.5375 0.075 hfo PHR3 7075 2000.0 +3.7 0.075 hfo AR1 7400 2000.0 +4.325 0.0625 hfo HL1 8650 2000.0 +4.625 0.0625 hfo IAR2 9250 2000.0