Skip to content

Commit d3ac4b9

Browse files
authored
prepare release 2.8.1 (#1927)
* Update CHANGELOG.md * Update pyproject.toml * update readme and requirements-doc.txt * fix yaml file path for configurator tutorial * update path to yaml in configuration tutorial * update path to yaml in configuration tutorial * update working dir for gallery tests * update channel number to stop transpose warning * update yaml file path in configuration tutorial * fix text section in configuration tutorial
1 parent c99c0c5 commit d3ac4b9

File tree

6 files changed

+16
-8
lines changed

6 files changed

+16
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PyNWB Changelog
22

3-
## PyNWB 2.8.1 (Upcoming)
3+
## PyNWB 2.8.1 (July 3, 2024)
44

55
### Documentation and tutorial enhancements
66
- Simplified the introduction to NWB tutorial. @rly [#1914](https://github.com/NeurodataWithoutBorders/pynwb/pull/1914)

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ Overall Health
4949
:target: https://github.com/neurodatawithoutborders/pynwb/blob/dev/license.txt
5050
:alt: PyPI - License
5151

52-
**Conda**
52+
**Conda Feedstock**
5353

54-
.. image:: https://circleci.com/gh/conda-forge/pynwb-feedstock.svg?style=shield
55-
:target: https://circleci.com/gh/conda-forge/pynwb-feedstock
54+
.. image:: https://dev.azure.com/conda-forge/feedstock-builds/_apis/build/status/pynwb-feedstock?branchName=main
55+
:target: https://dev.azure.com/conda-forge/feedstock-builds/_build/latest?definitionId=5703&branchName=main
5656
:alt: Conda Feedstock Status
5757

5858
NWB Format API

docs/gallery/general/plot_configurator.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
from pynwb import NWBFile, get_loaded_type_config, load_type_config, unload_type_config
5656
from pynwb.file import Subject
5757

58+
####################################
5859
# How to use a Configuration file
5960
# -------------------------------
6061
# As mentioned prior, the first step after creating a configuration file is
@@ -69,7 +70,10 @@
6970
# the value of the fields are wrapped and then validated to see if it is a
7071
# permissible value in their respective :py:class:`~hdmf.term_set.TermSet`.
7172

72-
dir_path = os.path.dirname(os.path.abspath("__file__"))
73+
try:
74+
dir_path = os.path.dirname(os.path.abspath(__file__)) # when running as a .py
75+
except NameError:
76+
dir_path = os.path.dirname(os.path.abspath("__file__")) # when running as a script or notebook
7377
yaml_file = os.path.join(dir_path, 'nwb_gallery_config.yaml')
7478
load_type_config(config_path=yaml_file)
7579

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ authors = [
99
{ name="Ryan Ly", email="[email protected]" },
1010
{ name="Oliver Ruebel", email="[email protected]" },
1111
{ name="Ben Dichter", email="[email protected]" },
12-
{ name="Matthew Avaylon", email="[email protected]" }
12+
{ name="Matthew Avaylon", email="[email protected]" },
13+
{ name="Stephanie Prince", email="[email protected]" },
1314
]
1415
description= "Package for working with Neurodata stored in the NWB format."
1516
readme = "README.rst"

requirements-doc.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ lxml # used by dataframe_image when using the matplotlib backend
1313
hdf5plugin
1414
dandi>=0.46.6
1515
hdmf-zarr
16-
zarr<2.18.0 # limited until hdmf-zarr 0.8.0 is released to resolve issues with zarr>=2.18.0
16+
zarr<3 # limited to zarr<3 until hdmf-zarr resolves issues with zarr 3.0
17+
linkml-runtime==1.7.4; python_version >= "3.9"
18+
schemasheets==0.2.1; python_version >= "3.9"
19+
oaklib==0.5.32; python_version >= "3.9"

tests/unit/test_ecephys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def test_dimensions_warning(self):
118118

119119
def test_get_data_in_units(self):
120120
samples = 100
121-
channels = 2
121+
channels = 5
122122
conversion = 10.0
123123
offset = 3.0
124124
channel_conversion = np.random.rand(channels)

0 commit comments

Comments
 (0)