We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2638ba commit e0377e5Copy full SHA for e0377e5
astroquery/mast/cutouts.py
@@ -72,7 +72,7 @@ def _parse_cutout_size(size, timeout=None, mission=None):
72
limit_reached = False
73
74
# Checking 2d size inputs for the recommended cutout size
75
- if not isinstance(size, (int, float, u.Quantity)) & (mission == 'TESS'):
+ if (mission == 'TESS') & (not isinstance(size, (int, float, u.Quantity))):
76
if len(size) == 2:
77
if np.isscalar(size[0]):
78
size = [size[0] * u.pixel, size[1] * u.pixel]
0 commit comments