Skip to content

Commit 516e14b

Browse files
authored
Merge pull request #3236 from esdc-esac-esa-int/ESA_euclid_EUCLIDPCR-1863_fix_documentation
EUCLID: fix minor issue in one of the code snippets [ci skip]
2 parents 71b00bb + d063e69 commit 516e14b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/esa/euclid/euclid.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ It is possible to download a product given its file name or product id:
701701
>>> #display the downloaded product (since this is a calibrated frame the different detectors are stored as different extensions - we are displaying only one extension)
702702
>>> from astropy.io import fits
703703
>>> import matplotlib.pyplot as plt
704-
>>> from astropy.visualization import astropy_mpl_style, ImageNormalize, PercentileInterval, AsinhStretch, LogStretchhdul = fits.open(path[0])
704+
>>> from astropy.visualization import astropy_mpl_style, ImageNormalize, PercentileInterval, AsinhStretch, LogStretch
705705
>>> hdul = fits.open(path[0])
706706
>>> print(fits.info(path[0]))
707707
WARNING: File may have been truncated: actual file length (103579232) is smaller than the expected size (1474565760) [astropy.io.fits.file]
@@ -790,7 +790,7 @@ Below is the equivalent version but copying arguments manually (for clarity).
790790
.. Skipping authentication requiring examples
791791
.. doctest-skip::
792792

793-
>>> file_path="/data_03/repository_otf/MER/101158889/VIS/EUC_MER_BGSUB-MOSAIC-VIS_TILE101158889-D08FBD_20240113T021028.995617Z_00.00.fits"
793+
>>> file_path="EUC_MER_BGSUB-MOSAIC-VIS_TILE101158889-D08FBD_20240113T021028.995617Z_00.00.fits"
794794
>>> saved_cutout_filepath = Euclid.get_cutout(file_path=file_path, instrument="VIS", id="101158889", coordinate=coord, radius=radius, output_file='example_outputs/test_cutout_example.fits')
795795
>>> print("Cutout saved at", saved_cutout_filepath)
796796
Cutout saved at ['example_outputs/cutouts/astroquery_cutout_example.fits']
@@ -969,7 +969,7 @@ A table from the user's private area can be deleted as follows:
969969

970970
>>> from astroquery.esa.euclid import Euclid
971971
>>> Euclid.login_gui()
972-
>>> job = Euclid.delete_user_table("table_test_from_file")
972+
>>> job = Euclid.delete_user_table(table_name="table_test_from_file")
973973
Table 'table_test_from_file' deleted.
974974

975975
2.7. Updating table metadata

0 commit comments

Comments
 (0)