We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2039c6 commit d2638baCopy full SHA for d2638ba
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 isinstance(size, list) & (mission == 'TESS'):
+ if not isinstance(size, (int, float, u.Quantity)) & (mission == 'TESS'):
76
if len(size) == 2:
77
if np.isscalar(size[0]):
78
size = [size[0] * u.pixel, size[1] * u.pixel]
0 commit comments