Skip to content

Commit 19a9395

Browse files
committed
doc: revert query_ and list_ _collections to _surveys
1 parent 9d4f167 commit 19a9395

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/eso/eso.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,11 @@ In this section, we show how to obtain these processed collection data from the
281281
Identify available collections
282282
------------------------------
283283

284-
The list of available collections can be obtained with :meth:`astroquery.eso.EsoClass.list_collections` as follows:
284+
The list of available collections can be obtained with :meth:`astroquery.eso.EsoClass.list_surveys` as follows:
285285

286286
.. doctest-remote-data::
287287

288-
>>> collections = eso.list_collections()
288+
>>> collections = eso.list_surveys()
289289

290290
Query a specific collection with constraints
291291
--------------------------------------------
@@ -297,7 +297,7 @@ The archive can be queried as follows:
297297

298298
.. doctest-remote-data::
299299

300-
>>> table = eso.query_collections(collections='HARPS', cache=False, target="HD203608")
300+
>>> table = eso.query_surveys(surveys='HARPS', cache=False, target="HD203608")
301301

302302
The returned table has an ``ARCFILE`` column. It can be used to retrieve the datasets with
303303
:meth:`astroquery.eso.EsoClass.retrieve_data` (see next section).

0 commit comments

Comments
 (0)