Skip to content

Commit

Permalink
Merge pull request #209 from rayosborn:fix-weighted-data
Browse files Browse the repository at this point in the history
Fix-weighted-data
  • Loading branch information
rayosborn committed Jun 6, 2024
2 parents 70be689 + c06307e commit 7a40a56
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package:
name: nexusformat
version: "1.0.4"
version: "1.0.5"

source:
git_url: https://github.com/nexpy/nexusformat.git
git_tag: v1.0.4
git_tag: v1.0.5

build:
entry_points:
Expand Down
1 change: 1 addition & 0 deletions src/nexusformat/nexus/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -6395,6 +6395,7 @@ def weighted_data(self):
raise NeXusError("No signal defined for this NXdata group")
elif weights is None:
raise NeXusError("No weights defined for this NXdata group")
result._group = self._group
return result

def prepare_smoothing(self):
Expand Down

0 comments on commit 7a40a56

Please sign in to comment.