Skip to content

Commit

Permalink
resolved zcut unit test error
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymedina committed May 5, 2023
1 parent d2638ba commit e0377e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astroquery/mast/cutouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _parse_cutout_size(size, timeout=None, mission=None):
limit_reached = False

# Checking 2d size inputs for the recommended cutout size
if not isinstance(size, (int, float, u.Quantity)) & (mission == 'TESS'):
if (mission == 'TESS') & (not isinstance(size, (int, float, u.Quantity))):
if len(size) == 2:
if np.isscalar(size[0]):
size = [size[0] * u.pixel, size[1] * u.pixel]
Expand Down

0 comments on commit e0377e5

Please sign in to comment.