Skip to content

Commit

Permalink
Hannnnds
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Dec 2, 2022
1 parent d0cb125 commit eccbf55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions specreduce/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ def _parse_image(self, image, disp_axis=1):
mask = image.mask
else:
mask = np.ma.masked_invalid(img).mask
if mask is False: # Could be False
mask = None

if mask is False: # Could be False
mask = None

if getattr(image, 'uncertainty', None) is not None:
uncertainty = image.uncertainty
Expand Down

0 comments on commit eccbf55

Please sign in to comment.