Skip to content

Commit

Permalink
Adds the parent group to the weighted data function.
Browse files Browse the repository at this point in the history
  • Loading branch information
rayosborn committed Jun 4, 2024
1 parent 70be689 commit 89528f8
Showing 1 changed file with 1 addition and 0 deletions.
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 89528f8

Please sign in to comment.