Skip to content

Commit a46e7d5

Browse files
committed
Fix Gaia.query_object with columns and radius
The method `astroquery.gaia.core.GaiaClass.__query_object()` no longer ignores its `column` argument when `radius` is specified.
1 parent a93ea7c commit a46e7d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astroquery/gaia/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ def __query_object(self, coordinate, radius=None, width=None, height=None,
386386
coord = self.__getCoordInput(coordinate, "coordinate")
387387
job = None
388388
if radius is not None:
389-
job = self.__cone_search(coord, radius,
390-
async_job=async_job, verbose=verbose)
389+
job = self.__cone_search(coord, radius, async_job=async_job,
390+
verbose=verbose, columns=columns)
391391
else:
392392
raHours, dec = commons.coord_to_radec(coord)
393393
ra = raHours * 15.0 # Converts to degrees

0 commit comments

Comments
 (0)