Skip to content

Commit

Permalink
Merge pull request #166 from rayosborn/fix-pickles
Browse files Browse the repository at this point in the history
Make NeXus trees picklable
  • Loading branch information
rayosborn authored Jan 11, 2022
2 parents 597c9a1 + c1eb239 commit 01192b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Visualization

Expand All @@ -31,8 +32,7 @@ python_requires = >=3.6
install_requires =
numpy
scipy
h5py
include_package_data = True
h5py >=2.9

[options.packages.find]
where = src
Expand Down
2 changes: 2 additions & 0 deletions src/nexusformat/nexus/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -1729,6 +1729,8 @@ class AttrDict(dict):
A dictionary containing the first set of attributes.
"""

_parent = None

def __init__(self, parent=None, attrs=None):
super().__init__()
self._parent = parent
Expand Down

0 comments on commit 01192b4

Please sign in to comment.