Skip to content

Commit 222a776

Browse files
committed
made radius keyword argument in docs
1 parent 6bc272d commit 222a776

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/mast/mast.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ For a non positional search, select_cols would always include search_key and sci
229229
>>> from astropy.coordinates import SkyCoord
230230
>>> missions = MastMissions(mission='hst')
231231
>>> regionCoords = SkyCoord(210.80227, 54.34895, unit=('deg', 'deg'))
232-
>>> results = missions.query_region(regionCoords, 3, sci_pep_id=12556,
232+
>>> results = missions.query_region(regionCoords, radius=3, sci_pep_id=12556,
233233
... select_cols=["sci_stop_time", "sci_targname", "sci_start_time", "sci_status"],
234234
... sort_by=['sci_targname'])
235235
>>> results[:5] # doctest: +IGNORE_OUTPUT
@@ -263,7 +263,7 @@ Metadata queries can also be performed using object names with the
263263

264264
.. doctest-remote-data::
265265

266-
>>> results = missions.query_object('M101', 3, select_cols=["sci_stop_time", "sci_targname", "sci_start_time", "sci_status"],
266+
>>> results = missions.query_object('M101', radius=3, select_cols=["sci_stop_time", "sci_targname", "sci_start_time", "sci_status"],
267267
... sort_by=['sci_targname'])
268268
>>> results[:5] # doctest: +IGNORE_OUTPUT
269269
<Table masked=True length=5>

0 commit comments

Comments
 (0)