Skip to content

Commit c30e59e

Browse files
committed
fixing docs
1 parent 0382c12 commit c30e59e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

astroquery/esa/hsa/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class Conf(_config.ConfigNamespace):
1313
"""
14-
Configuration parameters for `astroquery.hsa`.
14+
Configuration parameters for `astroquery.esa.hsa`.
1515
"""
1616
DATA_ACTION = _config.ConfigItem("http://archives.esac.esa.int/hsa/whsa-tap-server/data?",
1717
"Main url for retrieving HSA Data Archive files")

astroquery/esa/hsa/tests/setup_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ def get_package_data():
1111
] # etc, add other extensions
1212
# you can also enlist files individually by names
1313
# finally construct and return a dict for the sub module
14-
return {'astroquery.hsa.tests': paths}
14+
return {'astroquery.esa.hsa.tests': paths}

docs/esa/hsa.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ This will show the column details of the table 'hsa.v_active_observation' in HSA
144144
7. Query Observations
145145
-------------------------------------
146146

147-
.. code-block:: python
147+
.. doctest-skip::
148148

149149
>>> from astroquery.esa.hsa import HSA
150150
>>> from astropy.coordinates import SkyCoord
@@ -154,7 +154,7 @@ This will show the column details of the table 'hsa.v_active_observation' in HSA
154154
>>> HSA.query_observations(c, 0.5)
155155
<Table length=5>
156156
observation_id
157-
object
157+
object
158158
--------------
159159
1342219315
160160
1342205057
@@ -170,7 +170,7 @@ Retrieve a VOTable with the observation IDs of a given region
170170

171171
First retrieve the observation IDs based on a position on the sky. To achive this, query the TAP service.
172172

173-
.. code-block:: python
173+
.. doctest-skip::
174174

175175
>>> from astroquery.esa.hsa import HSA
176176
>>>
@@ -196,7 +196,7 @@ For more information on how to use ADQL see:
196196

197197
After obtaining the desire ID, download the product of the observation '1342205057' with the instrument 'PACS'.
198198

199-
.. code-block:: python
199+
.. doctest-skip::
200200

201201
>>> HSA.download_data(observation_id='1342205057', retrieval_type='OBSERVATION', instrument_name='PACS')
202202
Downloading URL http://archives.esac.esa.int/hsa/whsa-tap-server/data?&retrieval_type=OBSERVATION&observation_id=1342205057&instrument_name=PACS to 1342205057.tar ... [Done]
@@ -205,5 +205,5 @@ After obtaining the desire ID, download the product of the observation '13422050
205205
Reference/API
206206
=============
207207

208-
.. automodapi:: astroquery.hsa
208+
.. automodapi:: astroquery.esa.hsa
209209
:no-inheritance-diagram:

0 commit comments

Comments
 (0)