Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare release 2.8.1 #1927

Merged
merged 10 commits into from
Jul 3, 2024
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PyNWB Changelog

## PyNWB 2.8.1 (Upcoming)
## PyNWB 2.8.1 (July 3, 2024)

### Documentation and tutorial enhancements
- Simplified the introduction to NWB tutorial. @rly [#1914](https://github.com/NeurodataWithoutBorders/pynwb/pull/1914)
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ Overall Health
:target: https://github.com/neurodatawithoutborders/pynwb/blob/dev/license.txt
:alt: PyPI - License

**Conda**
**Conda Feedstock**

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

NWB Format API
Expand Down
6 changes: 5 additions & 1 deletion docs/gallery/general/plot_configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
from pynwb import NWBFile, get_loaded_type_config, load_type_config, unload_type_config
from pynwb.file import Subject

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

dir_path = os.path.dirname(os.path.abspath("__file__"))
try:
dir_path = os.path.dirname(os.path.abspath(__file__)) # when running as a .py
except NameError:
dir_path = os.path.dirname(os.path.abspath("__file__")) # when running as a script or notebook
yaml_file = os.path.join(dir_path, 'nwb_gallery_config.yaml')
load_type_config(config_path=yaml_file)

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ authors = [
{ name="Ryan Ly", email="[email protected]" },
{ name="Oliver Ruebel", email="[email protected]" },
{ name="Ben Dichter", email="[email protected]" },
{ name="Matthew Avaylon", email="[email protected]" }
{ name="Matthew Avaylon", email="[email protected]" },
{ name="Stephanie Prince", email="[email protected]" },
]
description= "Package for working with Neurodata stored in the NWB format."
readme = "README.rst"
Expand Down
5 changes: 4 additions & 1 deletion requirements-doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ lxml # used by dataframe_image when using the matplotlib backend
hdf5plugin
dandi>=0.46.6
hdmf-zarr
zarr<2.18.0 # limited until hdmf-zarr 0.8.0 is released to resolve issues with zarr>=2.18.0
zarr<3 # limited to zarr<3 until hdmf-zarr resolves issues with zarr 3.0
linkml-runtime==1.7.4; python_version >= "3.9"
schemasheets==0.2.1; python_version >= "3.9"
oaklib==0.5.32; python_version >= "3.9"
2 changes: 1 addition & 1 deletion tests/unit/test_ecephys.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def test_dimensions_warning(self):

def test_get_data_in_units(self):
samples = 100
channels = 2
channels = 5
conversion = 10.0
offset = 3.0
channel_conversion = np.random.rand(channels)
Expand Down
Loading