Skip to content

Commit 602aa0a

Browse files
committed
DOC: upstream docstring links have been fixed, remove workaround
1 parent 64dce74 commit 602aa0a

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

astroquery/alma/core.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -564,10 +564,6 @@ def query_sia(self, *, pos=None, band=None, time=None, pol=None,
564564
maxrec=maxrec,
565565
**kwargs)
566566

567-
# SIA2_PARAMETERS_DESC contains links that Sphinx can't resolve.
568-
for var in ('POLARIZATION_STATES', 'CALIBRATION_LEVELS'):
569-
SIA2_PARAMETERS_DESC = SIA2_PARAMETERS_DESC.replace(f'`pyvo.dam.obscore.{var}`',
570-
f'pyvo.dam.obscore.{var}')
571567
query_sia.__doc__ = query_sia.__doc__.replace('_SIA2_PARAMETERS', SIA2_PARAMETERS_DESC)
572568

573569
def query_tap(self, query, maxrec=None):

astroquery/ipac/irsa/core.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,6 @@ def query_sia(self, *, pos=None, band=None, time=None, pol=None,
119119
maxrec=maxrec,
120120
**kwargs)
121121

122-
# SIA2_PARAMETERS_DESC contains links that Sphinx can't resolve.
123-
# SIA2_PARAMETERS_DESC contains links that Sphinx can't resolve.
124-
for var in ('POLARIZATION_STATES', 'CALIBRATION_LEVELS'):
125-
SIA2_PARAMETERS_DESC = SIA2_PARAMETERS_DESC.replace(f'`pyvo.dam.obscore.{var}`',
126-
f'pyvo.dam.obscore.{var}')
127122
query_sia.__doc__ = query_sia.__doc__.replace('_SIA2_PARAMETERS', SIA2_PARAMETERS_DESC)
128123

129124
def list_collections(self):

0 commit comments

Comments
 (0)