Skip to content

Commit f8061fb

Browse files
committed
Remove duplicate MAST token example
1 parent 729fd4d commit f8061fb

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

docs/mast/mast.rst

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,18 +1132,6 @@ If a token is not supplied, the user will be prompted to enter one.
11321132

11331133
To view tokens accessible through your account, visit https://auth.mast.stsci.edu
11341134

1135-
.. doctest-skip::
1136-
1137-
>>> from astroquery.mast import Observations
1138-
...
1139-
>>> Observations.login(token="12348r9w0sa2392ff94as841")
1140-
INFO: MAST API token accepted, welcome User Name [astroquery.mast.core]
1141-
...
1142-
>>> sessioninfo = Observations.session_info()
1143-
1144-
ezid: uname
1145-
...
1146-
11471135
.. doctest-skip::
11481136

11491137
>>> from astroquery.mast import Observations
@@ -1154,7 +1142,7 @@ To view tokens accessible through your account, visit https://auth.mast.stsci.ed
11541142
>>> sessioninfo = Observations.session_info()
11551143
11561144
ezid: uname
1157-
...
1145+
...
11581146

11591147
\* For security tokens should not be typed into a terminal or Jupyter notebook
11601148
but instead input using a more secure method such as `~getpass.getpass`.

0 commit comments

Comments
 (0)