@@ -111,7 +111,7 @@ def get_default_radius(self, catalog_name):
111
111
112
112
Returns
113
113
-------
114
- The radius as ~astropy.units.Quantity
114
+ The radius as ` ~astropy.units.Quantity`
115
115
116
116
"""
117
117
meta = self ._meta [
@@ -126,12 +126,12 @@ def _set_session(self, session):
126
126
127
127
Parameters
128
128
----------
129
- session : ~requests.Session
129
+ session : ` ~requests.Session`
130
130
The requests.Session to use
131
131
132
132
"""
133
133
if not isinstance (session , requests .Session ):
134
- raise ValueError ('session is not a ~requests.Session instance' )
134
+ raise ValueError ('session is not a ` ~requests.Session` instance' )
135
135
136
136
self ._session = session
137
137
@@ -187,7 +187,7 @@ def query_mission_list(self, *, cache=True, get_query_payload=False):
187
187
188
188
This method is deprecated, and is included only for limited
189
189
backward compatibility with the old astroquery.Heasarc that uses
190
- the Browse interface. Please use ~Heasarc.list_catalogs instead.
190
+ the Browse interface. Please use ` ~Heasarc.list_catalogs` instead.
191
191
192
192
"""
193
193
return self .list_catalogs (master = False )
@@ -212,7 +212,7 @@ def list_columns(self, catalog_name, full=False):
212
212
tables = self .tap .tables
213
213
if catalog_name not in tables .keys ():
214
214
msg = (f'{ catalog_name } is not available as a public catalog. '
215
- 'Try passing keywords to ~Heasarc.list_catalogs() to find '
215
+ 'Try passing keywords to ` ~Heasarc.list_catalogs` to find '
216
216
'the catalog name' )
217
217
raise ValueError (msg )
218
218
@@ -238,7 +238,7 @@ def query_mission_cols(self, mission, *, cache=True,
238
238
239
239
NOTE: This method is deprecated, and is included only for limited
240
240
backward compatibility with the old astroquery.Heasarc that uses
241
- the Browse interface. Please use ~Heasarc.list_columns instead.
241
+ the Browse interface. Please use ` ~Heasarc.list_columns` instead.
242
242
243
243
Parameters
244
244
----------
@@ -324,7 +324,7 @@ def query_region(self, position=None, catalog=None, radius=None, *,
324
324
`astropy.units` may also be used. If None, a default value
325
325
appropriate for the selected catalog is used. To see the default
326
326
radius for the catalog, see
327
- ~astroquery.heasarc.Heasarc.get_default_radius.
327
+ ` ~astroquery.heasarc.Heasarc.get_default_radius` .
328
328
width : str, `~astropy.units.Quantity` object [Required for
329
329
spatial == ``'box'``.]
330
330
The string must be parsable by `~astropy.coordinates.Angle`. The
@@ -610,7 +610,7 @@ def download_data(self, links, host='heasarc', location='.'):
610
610
if host_column not in links .colnames :
611
611
raise ValueError (
612
612
f'No { host_column } column found in the table. Call '
613
- '~locate_data first'
613
+ '` ~locate_data` first'
614
614
)
615
615
616
616
if host == 'heasarc' :
@@ -632,7 +632,7 @@ def _download_heasarc(self, links, location='.'):
632
632
"""Download data from the heasarc main server using xamin's tar servlet
633
633
634
634
Do not call directly.
635
- Users should be using ~self.download_data instead
635
+ Users should be using ` ~self.download_data` instead
636
636
637
637
Parameters
638
638
----------
@@ -689,7 +689,7 @@ def _copy_sciserver(self, links, location='.'):
689
689
"""Copy data from the local archive on sciserver
690
690
691
691
Do not call directly.
692
- Users should be using ~self.download_data instead
692
+ Users should be using ` ~self.download_data` instead
693
693
694
694
"""
695
695
if not (os .path .exists ('/FTP/' ) and os .environ ['HOME' ].split ('/' )[- 1 ] == 'idies' ):
@@ -720,7 +720,7 @@ def _download_s3(self, links, location='.'):
720
720
Assuming open access.
721
721
722
722
Do not call directly.
723
- Users should be using ~self.download_data instead
723
+ Users should be using ` ~self.download_data` instead
724
724
725
725
"""
726
726
keys_list = [link for link in links ['aws' ]]
0 commit comments