Skip to content

Commit b13018e

Browse files
committed
Updated indentations in comments
1 parent d3b824d commit b13018e

File tree

2 files changed

+26
-24
lines changed

2 files changed

+26
-24
lines changed

astroquery/esasky/core.py

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ def query_object_maps(self, position, missions=__ALL_STRING,
9898
Each mission returns a `astroquery.table.Table` with the metadata
9999
and observations available for the chosen missions and object.
100100
It is structured in a TableList like this:
101-
TableList with 8 tables:
102-
'0:HERSCHEL' with 8 column(s) and 25 row(s)
103-
'1:HST' with 8 column(s) and 735 row(s)
101+
TableList with 8 tables:
102+
'0:HERSCHEL' with 8 column(s) and 25 row(s)
103+
'1:HST' with 8 column(s) and 735 row(s)
104104
105105
Examples
106106
--------
@@ -142,9 +142,9 @@ def query_object_catalogs(self, position, catalogs=__ALL_STRING,
142142
Each mission returns a `astroquery.table.Table` with the metadata
143143
of the catalogs available for the chosen mission and object.
144144
It is structured in a TableList like this:
145-
TableList with 8 tables:
146-
'0:Gaia DR1 TGA' with 8 column(s) and 25 row(s)
147-
'1:HSC' with 8 column(s) and 75 row(s)
145+
TableList with 8 tables:
146+
'0:Gaia DR1 TGA' with 8 column(s) and 25 row(s)
147+
'1:HSC' with 8 column(s) and 75 row(s)
148148
149149
Examples
150150
--------
@@ -187,9 +187,9 @@ def query_region_maps(self, position, radius, missions=__ALL_STRING,
187187
Each mission returns a `astroquery.table.Table` with the metadata
188188
and observations available for the chosen missions and region.
189189
It is structured in a TableList like this:
190-
TableList with 8 tables:
191-
'0:HERSCHEL' with 8 column(s) and 25 row(s)
192-
'1:HST' with 8 column(s) and 735 row(s)
190+
TableList with 8 tables:
191+
'0:HERSCHEL' with 8 column(s) and 25 row(s)
192+
'1:HST' with 8 column(s) and 735 row(s)
193193
194194
Examples
195195
--------
@@ -248,9 +248,9 @@ def query_region_catalogs(self, position, radius, catalogs=__ALL_STRING,
248248
the catalogs available
249249
for the chosen mission and region.
250250
It is structured in a TableList like this:
251-
TableList with 8 tables:
252-
'0:Gaia DR1 TGA' with 8 column(s) and 25 row(s)
253-
'1:HSC' with 8 column(s) and 75 row(s)
251+
TableList with 8 tables:
252+
'0:Gaia DR1 TGA' with 8 column(s) and 25 row(s)
253+
'1:HSC' with 8 column(s) and 75 row(s)
254254
255255
Examples
256256
--------
@@ -310,12 +310,12 @@ def get_maps(self, query_table_list, missions=__ALL_STRING,
310310
For Herschel each item in the list is a dictionary where the used
311311
filter is the key and the HDUList is the value.
312312
It is structured in a dictionary like this:
313-
dict: {
314-
'HERSCHEL': [{'70': [HDUList], ' 160': [HDUList]}, {'70': [HDUList], ' 160': [HDUList]}, ...],
315-
'HST':[[HDUList], HDUList], HDUList], HDUList], HDUList], ...],
316-
'XMM-EPIC' : [HDUList], HDUList], HDUList], HDUList], ...]
317-
...
318-
}
313+
dict: {
314+
'HERSCHEL': [{'70': [HDUList], ' 160': [HDUList]}, {'70': [HDUList], ' 160': [HDUList]}, ...],
315+
'HST':[[HDUList], HDUList], HDUList], HDUList], HDUList], ...],
316+
'XMM-EPIC' : [HDUList], HDUList], HDUList], HDUList], ...]
317+
...
318+
}
319319
320320
Examples
321321
--------
@@ -383,12 +383,12 @@ def get_images(self, position, radius=__ZERO_ARCMIN_STRING, missions=__ALL_STRIN
383383
For Herschel each item in the list is a dictionary where the used
384384
filter is the key and the HDUList is the value.
385385
It is structured in a dictionary like this:
386-
dict: {
387-
'HERSCHEL': [{'70': [HDUList], ' 160': [HDUList]}, {'70': [HDUList], ' 160': [HDUList]}, ...],
388-
'HST':[[HDUList], HDUList], HDUList], HDUList], HDUList], ...],
389-
'XMM-EPIC' : [HDUList], HDUList], HDUList], HDUList], ...]
390-
...
391-
}
386+
dict: {
387+
'HERSCHEL': [{'70': [HDUList], ' 160': [HDUList]}, {'70': [HDUList], ' 160': [HDUList]}, ...],
388+
'HST':[[HDUList], HDUList], HDUList], HDUList], HDUList], ...],
389+
'XMM-EPIC' : [HDUList], HDUList], HDUList], HDUList], ...]
390+
...
391+
}
392392
393393
Examples
394394
--------

docs/esasky/esasky.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ To search in all available catalogs you can write "all" instead of a catalog
7272
name. The same thing will happen if you don't write any catalog name.
7373

7474
.. code-block:: python
75+
7576
>>> result = ESASky.query_object_catalogs("M51", "all")
7677
>>> result = ESASky.query_object_catalogs("M51")
7778
@@ -149,6 +150,7 @@ To search in all available catalogs you can write "all" instead of a catalog
149150
name. The same thing will happen if you don't write any catalog name.
150151

151152
.. code-block:: python
153+
152154
>>> result = ESASky.query_region_catalogs("M51", 10 * u.arcmin, "all")
153155
>>> result = ESASky.query_region_catalogs("M51", 10 * u.arcmin)
154156

0 commit comments

Comments
 (0)