Skip to content

Commit d9e271c

Browse files
committed
DOC: some alma docstring fixes
1 parent aeb1e0c commit d9e271c

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

astroquery/alma/core.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,8 @@ def query_sia(self, *, pos=None, band=None, time=None, pol=None,
652652
653653
Returns
654654
-------
655-
Results in ``pyvo.dal.sia2.SIA2Results`` format.
656-
result.table in Astropy table format
655+
Results in `~pyvo.dal.sia2.SIA2Results` format.
656+
result.to_qtable in `~astropy.table.QTable` format
657657
"""
658658
return self.sia.search(
659659
pos=pos,
@@ -680,13 +680,13 @@ def query_sia(self, *, pos=None, band=None, time=None, pol=None,
680680

681681
def query_tap(self, query, *, maxrec=None, uploads=None):
682682
"""
683-
Send query to the ALMA TAP. Results in pyvo.dal.TapResult format.
684-
result.table in Astropy table format
683+
Send query to the ALMA TAP. Results in `~pyvo.dal.TAPResults` format.
684+
result.to_qtable in `~astropy.table.QTable` format
685685
686686
Parameters
687687
----------
688688
query : str
689-
ADQL query to execute
689+
ADQL query to be executed
690690
maxrec : int
691691
maximum number of records to return
692692
uploads : dict
@@ -702,6 +702,11 @@ def query_tap(self, query, *, maxrec=None, uploads=None):
702702
>>> uploads = {'tmptable': '/tmp/tmptable_def.xml'}
703703
>>> rslt = query_tap(self, query, maxrec=None, uploads=uploads)
704704
705+
Return
706+
------
707+
result : `~pyvo.dal.TAPResults`
708+
TAP query result
709+
705710
"""
706711
log.debug('TAP query: {}'.format(query))
707712
return self.tap.search(query, language='ADQL', maxrec=maxrec, uploads=uploads)

0 commit comments

Comments
 (0)