Skip to content

Commit 932093b

Browse files
committed
Fix upload filename and ignore non-fixed output examples
1 parent 6564e11 commit 932093b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/cadc/cadc.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ Query without saving results in a file:
429429
>>> from astroquery.cadc import Cadc
430430
>>> cadc = Cadc()
431431
>>> results = cadc.exec_sync("SELECT top 100 observationID, intent FROM caom2.Observation")
432-
>>> print(results)
432+
>>> print(results) # doctest: +IGNORE_OUTPUT
433433
observationID intent
434434
---------------------------------- -----------
435435
VLASS2.2.T18t28.J204443+293000 science
@@ -473,7 +473,7 @@ More details about temporary table upload can be found in the IVOA TAP specifica
473473
>>> # save a few observations on a local file
474474
>>> results = cadc.exec_sync("SELECT TOP 3 observationID FROM caom2.Observation",
475475
... output_file='my_observations.xml')
476-
>>> print(results)
476+
>>> print(results) # doctest: +IGNORE_OUTPUT
477477
observationID
478478
----------------------------------
479479
c13a_060826_044314_ori
@@ -482,8 +482,8 @@ More details about temporary table upload can be found in the IVOA TAP specifica
482482
>>> # now use them to join with the remote table
483483
>>> results = cadc.exec_sync("SELECT o.observationID, intent FROM caom2.Observation o "
484484
... "JOIN tap_upload.test_upload tu ON o.observationID=tu.observationID",
485-
... uploads={'test_upload': 'my_datasets.xml'})
486-
>>> print(results)
485+
... uploads={'test_upload': 'my_observations.xml'})
486+
>>> print(results) # doctest: +IGNORE_OUTPUT
487487
observationID intent
488488
---------------------------------- -------
489489
c13a_060826_044314_ori science

0 commit comments

Comments
 (0)