diff --git a/astroquery/mast/cutouts.py b/astroquery/mast/cutouts.py index 59add943b7..95ec7015ca 100644 --- a/astroquery/mast/cutouts.py +++ b/astroquery/mast/cutouts.py @@ -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 isinstance(size, list) & (mission == 'TESS'): + if not isinstance(size, (int, float, u.Quantity)) & (mission == 'TESS'): if len(size) == 2: if np.isscalar(size[0]): size = [size[0] * u.pixel, size[1] * u.pixel]