-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from VisLab/main
Problem with proposed validation strategy proposed in #10
- Loading branch information
Showing
14 changed files
with
172 additions
and
602 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
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,16 +1,16 @@ | ||
# pinned dependencies to reproduce an entire development environment to | ||
# run tests, check code style, and generate documentation | ||
black==23.9.1 | ||
codespell==2.2.6 | ||
coverage==7.3.2 | ||
hdmf==3.10.0 | ||
hdmf-docutils==0.4.6 | ||
hedtools==0.4.0 | ||
black==24.4.2 | ||
codespell==2.3.0 | ||
coverage==7.5.3 | ||
hdmf==3.14.1 | ||
hdmf-docutils==0.4.7 | ||
hedtools==0.5.0 | ||
pre-commit==3.4.0 | ||
pynwb==2.5.0 | ||
pytest==7.4.2 | ||
pynwb==2.8.0 | ||
pytest==8.2.2 | ||
pytest-cov==4.1.0 | ||
python-dateutil==2.8.2 | ||
pytest-subtests==0.6.0 | ||
ruff==0.0.292 | ||
tox==4.11.3 | ||
ruff==0.4.10 | ||
tox==4.15.1 |
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,6 +1,6 @@ | ||
# minimum versions of package dependencies for installation | ||
# these should match the minimum versions specified in pyproject.toml | ||
# NOTE: it may be possible to relax these minimum requirements | ||
pynwb==2.5.0 | ||
hdmf==3.10.0 | ||
hedtools==0.4.0 | ||
pynwb==2.8.0 | ||
hdmf==3.14.1 | ||
hedtools==0.5.0 |
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,31 +1,12 @@ | ||
datasets: | ||
- neurodata_type_def: HedTags | ||
neurodata_type_inc: VectorData | ||
name: HED | ||
dtype: text | ||
doc: An extension of VectorData for Hierarchical Event Descriptor (HED) tags. If | ||
HED tags are used, the HED schema version must be specified in the NWB file using | ||
the HedMetadata type. | ||
groups: | ||
- neurodata_type_def: HedVersionAttr | ||
neurodata_type_inc: LabMetaData | ||
name: hed_version | ||
doc: An extension of LabMetaData to store the Hierarchical Event Descriptor (HED) | ||
schema version. TODO When merged with core, this will no longer inherit from LabMetaData | ||
but from NWBContainer and be placed optionally in /general. | ||
attributes: | ||
- name: version | ||
- name: hed_version | ||
dtype: text | ||
doc: The version of the HED schema used to validate the HED tags, e.g., '8.2.0'. | ||
Required if HED tags are used in the NWB file. | ||
- neurodata_type_def: HedVersion | ||
neurodata_type_inc: LabMetaData | ||
name: hed_version | ||
doc: An extension of LabMetaData to store the Hierarchical Event Descriptor (HED) | ||
schema version. TODO When merged with core, this will no longer inherit from LabMetaData | ||
but from NWBContainer and be placed optionally in /general. | ||
datasets: | ||
- name: version | ||
dtype: text | ||
doc: HED schema version to use for this dataset | ||
quantity: '?' | ||
doc: "The version of the HED schema used to validate the HED tags, e.g., '8.2.0'. | ||
(Required). " |
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 +1,40 @@ | ||
## ndx_hed NWB extension | ||
## ndx_hed Extension for NWB | ||
|
||
This is an NWB extension for adding Hierarchical Event Descriptor (HED) tags to NWB data. | ||
HED is a system for | ||
|
||
The latest version is 0.1.0. This is the first release of ndx-hed. | ||
|
||
|
||
This extension was developed by Kay Robbins, Ryan Ly, Oliver Rübel, and the HED Working Group. | ||
The documentation for this extension can be found at | ||
|
||
## Installation | ||
Python: | ||
```bash | ||
pip install -U ndx-hed | ||
``` | ||
|
||
## Developer installation | ||
In a Python 3.8-3.12 environment: | ||
```bash | ||
pip install -r requirements-dev.txt | ||
pip install -e . | ||
``` | ||
|
||
Run tests: | ||
```bash | ||
pytest | ||
``` | ||
|
||
Install pre-commit hooks: | ||
```bash | ||
pre-commit install | ||
``` | ||
|
||
Style and other checks: | ||
```bash | ||
black . | ||
ruff . | ||
codespell . | ||
``` |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.