Skip to content

Commit 4519f73

Browse files
committed
eso doc tweaks
1 parent 0c0659b commit 4519f73

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

docs/eso/eso.rst

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,25 +38,25 @@ store the password in your operating system. As such you should have to enter yo
3838
correct password only once, and later be able to use this package for automated
3939
interaction with the ESO archive.
4040

41-
.. doctest-skip::
41+
.. doctest-skip::
4242

4343
>>> from astroquery.eso import Eso
4444
>>> eso = Eso()
4545
>>> # First example: TEST is not a valid username, it will fail
46-
>>> eso.login("TEST") # doctest: +SKIP
46+
>>> eso.login("TEST")
4747
TEST, enter your ESO password:
4848

4949
Authenticating TEST on www.eso.org...
5050
Authentication failed!
5151
>>> # Second example: pretend ICONDOR is a valid username
52-
>>> eso.login("Tinuade", store_password=True) # doctest: +SKIP
53-
Tinuade, enter your ESO password:
52+
>>> eso.login("ICONDOR", store_password=True) # doctest: +SKIP
53+
ICONDOR, enter your ESO password:
5454

5555
Authenticating ICONDOR on www.eso.org...
5656
Authentication successful!
5757
>>> # After the first login, your password has been stored
58-
>>> eso.login("Tinuade") # doctest: +SKIP
59-
Authenticating Tinuade on www.eso.org...
58+
>>> eso.login("ICONDOR") # doctest: +SKIP
59+
Authenticating ICONDOR on www.eso.org...
6060
Authentication successful!
6161

6262
Automatic password
@@ -311,9 +311,8 @@ This method is detailed in the example below.
311311
... 'stime':'2007-01-01',
312312
... 'etime':'2008-01-01'},
313313
... columns=['night'])
314-
315314
>>> table_headers = eso.get_headers(table['DP.ID'])
316-
>>> table_headers.pprint() # doctest: +SKIP
315+
>>> table_headers.pprint() # doctest: +IGNORE_OUTPUT
317316
DP.ID SIMPLE BITPIX ... HIERARCH ESO OCS TPL NFILE HIERARCH ESO OCS EXPO1 FNAME3
318317
---------------------------- ------ ------ ... -------------------------- ---------------------------------
319318
MIDI.2007-02-07T07:01:51.000 True 16 ... 0
@@ -376,7 +375,7 @@ would like to download datasets from an existing request, either submitted
376375
through the functions here or externally, call ``retrieve_data`` with the
377376
``request_id`` option:
378377

379-
.. doctest-skip::
378+
.. doctest-skip::
380379

381380
>>> data_files = eso.retrieve_data(table['DP.ID'][:2], request_id=999999)
382381

0 commit comments

Comments
 (0)