Skip to content

Commit 6d9010d

Browse files
committed
Fix backticks for sphinx and PEP8
1 parent 2f18931 commit 6d9010d

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

astroquery/gemini/tests/test_gemini.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ def test_observations_query_criteria_radius_defaults(patch_get):
101101
assert('/sr=0.300000d' in saved_request['args'][1])
102102

103103

104-
105104
def test_observations_query_raw(patch_get):
106105
""" test querying raw """
107106
result = gemini.Observations.query_raw('GMOS-N', 'BIAS', progid='GN-CAL20191122')

docs/gemini/gemini.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Positional queries can be based on a sky position. Radius is an optional parame
2525
>>> coord = coordinates.SkyCoord(210.80242917, 54.34875, unit="deg")
2626
>>> data = Observations.query_region(coordinates=coord, radius=0.3*units.deg)
2727
>>> print(data[0:5])
28-
28+
2929
exposure_time detector_roi_setting detector_welldepth_setting telescope ...
3030
------------- -------------------- -------------------------- ------------ ...
3131
119.9986 Full Frame -- Gemini-North ...
@@ -61,15 +61,15 @@ Observation Criteria Queries
6161

6262
Additional search terms are available as optional arguments to the `~astroquery.gemini.ObservationsClass.query_criteria`
6363
call. These all have default values of None, in which case they will not be considered during the search. The one
64-
exception is `radius`, which will be set to 0.3 degrees by default if either `coordinates` or `objectname` are
64+
exception is ``radius``, which will be set to 0.3 degrees by default if either ``coordinates`` or ``objectname`` are
6565
specified.
6666

6767
Some examples of available search fields are the instrument used, such as GMOS-N, the observation_type, such as BIAS,
6868
and the program ID. For a complete list of available search fields, see
6969
`~astroquery.gemini.ObservationsClass.query_criteria`
7070

7171
.. code-block:: python
72-
72+
7373
>>> from astroquery.gemini import Observations
7474
7575
>>> data = Observations.query_criteria(instrument='GMOS-N',
@@ -85,7 +85,7 @@ and the program ID. For a complete list of available search fields, see
8585
0.0 Full Frame -- Gemini-North True ...
8686
0.0 Full Frame -- Gemini-North True ...
8787
88-
In addition, the criteria query can accept additional parameters via the ``*rawqueryargs`` and ``**rawquerykwargs``
88+
In addition, the criteria query can accept additional parameters via the ``*rawqueryargs`` and ``**rawquerykwargs``
8989
optional parameters.
9090

9191
The ``orderby`` parameter can be used to pass the desired sort order.
@@ -113,14 +113,15 @@ Regular *args* search terms are sent down as part of the URL path. Any *kwargs*
113113
key=value also in the URL path. You can infer what to pass the function by inspecting the URL after a search in the
114114
Gemini website. This call also supports the ``orderby`` kwarg for requesting the sort order.
115115

116-
This example is equivalent to doing a web search with
116+
This example is equivalent to doing a web search with
117117
`this example search <https://archive.gemini.edu/searchform/RAW/cols=CTOWEQ/notengineering/GMOS-N/PIname=Hirst/NotFail>`_ .
118-
Note that *NotFail*, *notengineering*, *RAW*, and *cols* are all sent automatically. Only the additional
118+
119+
Note that *NotFail*, *notengineering*, *RAW*, and *cols* are all sent automatically. Only the additional
119120
terms need be passed into the method. If QA or engineering search terms are passed, those will replace
120121
the *NotFail* or *notengineering* terms respectively.
121122

122123
.. code-block:: python
123-
124+
124125
>>> from astroquery.gemini import Observations
125126
126127
>>> data = Observations.query_raw('GMOS-N', 'BIAS', progid='GN-CAL20191122')
@@ -139,7 +140,7 @@ Authenticated Sessions
139140
----------------------
140141

141142
The Gemini module allows for authenticated sessions using your GOA account. This is the same account you login
142-
with on the GOA homepage at `<https://archive.gemini.edu/>`__. The `astroquery.gemini.ObservationsClass.login`
143+
with on the GOA homepage at `<https://archive.gemini.edu/>`__. The `astroquery.gemini.ObservationsClass.login`
143144
method returns `True` if successful.
144145

145146
.. code-block:: python
@@ -169,4 +170,3 @@ Reference/API
169170

170171
.. automodapi:: astroquery.gemini
171172
:no-inheritance-diagram:
172-

0 commit comments

Comments
 (0)