Skip to content

Commit

Permalink
delete "# doctest: +SKIP" from get_obs_products tests when they use t…
Browse files Browse the repository at this point in the history
…he product_type attribute
  • Loading branch information
davidglt committed May 21, 2024
1 parent 04b61de commit d7bcbbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/esa/jwst/jwst.rst
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ than get_product_list, it also supports product_type parameter as string or list

>>> from astroquery.esa.jwst import Jwst
>>> observation_id = 'jw01122001001_0210r_00001_nrs2'
>>> results = Jwst.get_obs_products(observation_id=observation_id, cal_level=2, product_type='science') # doctest: +SKIP
>>> results = Jwst.get_obs_products(observation_id=observation_id, cal_level=2, product_type='science')


Here product_type as list:
Expand All @@ -292,7 +292,7 @@ Here product_type as list:

>>> from astroquery.esa.jwst import Jwst
>>> observation_id = 'jw01122001001_0210r_00001_nrs2'
>>> results = Jwst.get_obs_products(observation_id=observation_id, cal_level=2, product_type=['science', 'preview']) # doctest: +SKIP
>>> results = Jwst.get_obs_products(observation_id=observation_id, cal_level=2, product_type=['science', 'preview'])

A temporary directory is created with the files and a list of the them is provided.

Expand Down

0 comments on commit d7bcbbc

Please sign in to comment.