Skip to content

Commit dd149f7

Browse files
committed
Some more doc fixes for cadc
1 parent baa470b commit dd149f7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/cadc/cadc.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _astroquery.cadc:
22

33
************************
4-
Cadc (`astroquery.cadc`)
4+
CADC (`astroquery.cadc`)
55
************************
66

77
The Canadian Astronomy Data Centre (CADC) is a world-wide distribution
@@ -31,7 +31,7 @@ these collections:
3131
>>> from astroquery.cadc import Cadc
3232
>>> cadc = Cadc()
3333
>>> for collection, details in sorted(cadc.get_collections().items()):
34-
... print('{} : {}'.format(collection, details))
34+
... print(f'{collection} : {details}')
3535
...
3636
APASS : {'Description': 'The APASS collection at the CADC', 'Bands': ['Optical', 'Infrared|Optical', '']}
3737
BLAST : {'Description': 'The BLAST collection at the CADC', 'Bands': ['', 'Millimeter']}
@@ -150,9 +150,8 @@ the CADC metadata.
150150

151151
>>> from astroquery.cadc import Cadc
152152
>>> cadc = Cadc()
153-
>>> result = cadc.query_name('M31')
154-
>>> print(len(result))
155-
103949
153+
>>> result_m31 = cadc.query_name('M31')
154+
>>>
156155
>>> result = cadc.query_name('Nr3491_1')
157156
>>> print(result)
158157
observationURI sequenceNumber ... maxLastModified2

0 commit comments

Comments
 (0)