Skip to content

Commit

Permalink
Fix typo in new ApplyGenericMask task.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaceachern committed Dec 11, 2024
1 parent 4a167e6 commit 34e92fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draco/analysis/flagging.py
Original file line number Diff line number Diff line change
Expand Up @@ -2271,7 +2271,7 @@ def process(self, data: containers.ContainerBase, mask: containers.ContainerBase
"""
# Pull out the axes of each dataset
daxes = list(data.weight.attrs["axis"])
maxes = list(data.mask.attrs["axis"])
maxes = list(mask.mask.attrs["axis"])

# Make sure all the mask axes exist in the data
if any(ax not in daxes for ax in maxes):
Expand Down

0 comments on commit 34e92fd

Please sign in to comment.