-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into find_all_of_class
- Loading branch information
Showing
69 changed files
with
1,573 additions
and
971 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
[codespell] | ||
# in principle .ipynb can be corrected -- a good number of typos there | ||
# nwb-schema -- excluding since submodule, should have its own fixes/checks | ||
skip = .git,*.pdf,*.svg,venvs,env,*.ipynb,nwb-schema | ||
skip = .git,*.pdf,*.svg,venvs,env,nwb-schema | ||
ignore-regex = ^\s*"image/\S+": ".* | ||
# it is optin in a url | ||
# potatos - demanded to be left alone, autogenerated | ||
ignore-words-list = optin,potatos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,6 +108,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 # tags are required for versioneer to determine the version | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
|
@@ -151,6 +152,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 # tags are required for versioneer to determine the version | ||
|
||
- name: Set up Conda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
|
@@ -194,9 +196,9 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- { name: linux-python3.11-ros3 , python-ver: "3.11", os: ubuntu-latest } | ||
- { name: windows-python3.11-ros3, python-ver: "3.11", os: windows-latest } | ||
- { name: macos-python3.11-ros3 , python-ver: "3.11", os: macos-latest } | ||
- { name: conda-linux-python3.11-ros3 , python-ver: "3.11", os: ubuntu-latest } | ||
- { name: conda-windows-python3.11-ros3, python-ver: "3.11", os: windows-latest } | ||
- { name: conda-macos-python3.11-ros3 , python-ver: "3.11", os: macos-latest } | ||
steps: | ||
- name: Cancel non-latest runs | ||
uses: styfle/[email protected] | ||
|
@@ -207,6 +209,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 # tags are required for versioneer to determine the version | ||
|
||
- name: Set up Conda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
|
@@ -240,9 +243,9 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- { name: linux-gallery-python3.11-ros3 , python-ver: "3.11", os: ubuntu-latest } | ||
- { name: windows-gallery-python3.11-ros3, python-ver: "3.11", os: windows-latest } | ||
- { name: macos-gallery-python3.11-ros3 , python-ver: "3.11", os: macos-latest } | ||
- { name: conda-linux-gallery-python3.11-ros3 , python-ver: "3.11", os: ubuntu-latest } | ||
- { name: conda-windows-gallery-python3.11-ros3, python-ver: "3.11", os: windows-latest } | ||
- { name: conda-macos-gallery-python3.11-ros3 , python-ver: "3.11", os: macos-latest } | ||
steps: | ||
- name: Cancel non-latest runs | ||
uses: styfle/[email protected] | ||
|
@@ -253,6 +256,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 # tags are required for versioneer to determine the version | ||
|
||
- name: Set up Conda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
|
@@ -278,4 +282,4 @@ jobs: | |
- name: Run gallery ros3 tests | ||
run: | | ||
python test.py --example-ros3 | ||
python test.py --example-ros3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: Run DANDI read tests | ||
on: | ||
schedule: | ||
- cron: '0 6 * * *' # once per day at 1am ET | ||
# NOTE this is disabled until we can run this systematically instead of randomly | ||
# so we don't get constant error notifications and waste compute cycles | ||
# See https://github.com/NeurodataWithoutBorders/pynwb/issues/1804 | ||
# schedule: | ||
# - cron: '0 6 * * *' # once per day at 1am ET | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run-tests: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -l {0} # necessary for conda | ||
steps: | ||
- name: Cancel non-latest runs | ||
uses: styfle/[email protected] | ||
|
@@ -22,19 +22,14 @@ jobs: | |
submodules: 'recursive' | ||
fetch-depth: 0 # tags are required for versioneer to determine the version | ||
|
||
- name: Set up Conda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
auto-update-conda: true | ||
activate-environment: ros3 | ||
environment-file: environment-ros3.yml | ||
python-version: "3.11" | ||
channels: conda-forge | ||
auto-activate-base: false | ||
python-version: '3.11' | ||
|
||
- name: Install run dependencies | ||
run: | | ||
python -m pip install dandi pytest | ||
python -m pip install dandi fsspec requests aiohttp pytest | ||
python -m pip uninstall -y pynwb # uninstall pynwb | ||
python -m pip install -e . | ||
python -m pip list | ||
|
@@ -47,4 +42,4 @@ jobs: | |
- name: Run DANDI read tests | ||
run: | | ||
pytest -rP tests/read_dandi/ | ||
python tests/read_dandi/read_dandi.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,6 +92,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 # tags are required for versioneer to determine the version | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
|
@@ -173,7 +174,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- { name: linux-python3.11-ros3 , python-ver: "3.11", os: ubuntu-latest } | ||
- { name: conda-linux-python3.11-ros3 , python-ver: "3.11", os: ubuntu-latest } | ||
steps: | ||
- name: Cancel non-latest runs | ||
uses: styfle/[email protected] | ||
|
@@ -184,6 +185,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 # tags are required for versioneer to determine the version | ||
|
||
- name: Set up Conda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
|
@@ -217,7 +219,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- { name: linux-gallery-python3.11-ros3 , python-ver: "3.11", os: ubuntu-latest } | ||
- { name: conda-linux-gallery-python3.11-ros3 , python-ver: "3.11", os: ubuntu-latest } | ||
steps: | ||
- name: Cancel non-latest runs | ||
uses: styfle/[email protected] | ||
|
@@ -228,6 +230,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 # tags are required for versioneer to determine the version | ||
|
||
- name: Set up Conda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
|
@@ -271,6 +274,7 @@ jobs: | |
uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 # tags are required for versioneer to determine the version | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.