Skip to content

Commit e0377e5

Browse files
committed
resolved zcut unit test error
1 parent d2638ba commit e0377e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/mast/cutouts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def _parse_cutout_size(size, timeout=None, mission=None):
7272
limit_reached = False
7373

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

0 commit comments

Comments
 (0)