From 56afeb94f77b45c889147a0644c9349d24c3faea Mon Sep 17 00:00:00 2001 From: Erik Tollerud Date: Wed, 28 Apr 2021 10:59:19 -0400 Subject: [PATCH 1/7] add cache=True --- .../jwst-data-products-part1-live.ipynb | 6 +++--- .../jwst-data-products-part1-solutions.ipynb | 6 +++--- .../jwst-data-products-part2-live.ipynb | 4 ++-- .../jwst-data-products-part2-solutions.ipynb | 4 ++-- .../jwst-data-products-part3-live.ipynb | 8 ++++---- .../jwst-data-products-part3-solutions.ipynb | 8 ++++---- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/pipeline_products_session/jwst-data-products-part1-live.ipynb b/pipeline_products_session/jwst-data-products-part1-live.ipynb index c2ccc51..eba8f0e 100644 --- a/pipeline_products_session/jwst-data-products-part1-live.ipynb +++ b/pipeline_products_session/jwst-data-products-part1-live.ipynb @@ -224,12 +224,12 @@ "# Data for the notebook\n", "uncal_obs_link = \"https://stsci.box.com/shared/static/mpbrc3lszdjif6kpcw1acol00e0mm2zh.fits\"\n", "uncal_obs = \"example_nircam_imaging_uncal.fits\"\n", - "demo_file = download_file(uncal_obs_link+uncal_obs)\n", + "demo_file = download_file(uncal_obs_link+uncal_obs, cache=True)\n", "\n", "# Data for the exercise \n", "exercise_obs_link = \"https://stsci.box.com/shared/static/l1aih8rmwbtzyupv8hsl0adfa36why30.fits\"\n", "exercise_obs = \"example_exercise_uncal.fits\"\n", - "demo_ex_file = download_file(exercise_obs_link+exercise_obs)\n", + "demo_ex_file = download_file(exercise_obs_link+exercise_obs, cache=True)\n", "\n", "# Save the files so that we can use them later\n", "with fits.open(demo_file, ignore_missing_end=True) as f:\n", @@ -1120,7 +1120,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.1" + "version": "3.9.4" } }, "nbformat": 4, diff --git a/pipeline_products_session/jwst-data-products-part1-solutions.ipynb b/pipeline_products_session/jwst-data-products-part1-solutions.ipynb index 9005c0a..1836f62 100644 --- a/pipeline_products_session/jwst-data-products-part1-solutions.ipynb +++ b/pipeline_products_session/jwst-data-products-part1-solutions.ipynb @@ -224,12 +224,12 @@ "# Data for the notebook\n", "uncal_obs_link = \"https://stsci.box.com/shared/static/mpbrc3lszdjif6kpcw1acol00e0mm2zh.fits\"\n", "uncal_obs = \"example_nircam_imaging_uncal.fits\"\n", - "demo_file = download_file(uncal_obs_link+uncal_obs)\n", + "demo_file = download_file(uncal_obs_link+uncal_obs, cache=True)\n", "\n", "# Data for the exercise \n", "exercise_obs_link = \"https://stsci.box.com/shared/static/l1aih8rmwbtzyupv8hsl0adfa36why30.fits\"\n", "exercise_obs = \"example_exercise_uncal.fits\"\n", - "demo_ex_file = download_file(exercise_obs_link+exercise_obs)\n", + "demo_ex_file = download_file(exercise_obs_link+exercise_obs, cache=True)\n", "\n", "# Save the files so that we can use them later\n", "with fits.open(demo_file, ignore_missing_end=True) as f:\n", @@ -1164,7 +1164,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.1" + "version": "3.9.4" } }, "nbformat": 4, diff --git a/pipeline_products_session/jwst-data-products-part2-live.ipynb b/pipeline_products_session/jwst-data-products-part2-live.ipynb index c1faecd..ea9cb7e 100644 --- a/pipeline_products_session/jwst-data-products-part2-live.ipynb +++ b/pipeline_products_session/jwst-data-products-part2-live.ipynb @@ -254,7 +254,7 @@ " demo_ex_file]\n", "\n", "for file in all_files:\n", - " demo_file = download_file(file[0])\n", + " demo_file = download_file(file[0], cache=True)\n", " \n", " # Save the file so that we can use it later\n", " with fits.open(demo_file) as f:\n", @@ -1283,7 +1283,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.1" + "version": "3.9.4" } }, "nbformat": 4, diff --git a/pipeline_products_session/jwst-data-products-part2-solutions.ipynb b/pipeline_products_session/jwst-data-products-part2-solutions.ipynb index 77c0fe2..12b2ce2 100644 --- a/pipeline_products_session/jwst-data-products-part2-solutions.ipynb +++ b/pipeline_products_session/jwst-data-products-part2-solutions.ipynb @@ -254,7 +254,7 @@ " demo_ex_file]\n", "\n", "for file in all_files:\n", - " demo_file = download_file(file[0])\n", + " demo_file = download_file(file[0], cache=True)\n", " \n", " # Save the file so that we can use it later\n", " with fits.open(demo_file) as f:\n", @@ -1335,7 +1335,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.1" + "version": "3.9.4" } }, "nbformat": 4, diff --git a/pipeline_products_session/jwst-data-products-part3-live.ipynb b/pipeline_products_session/jwst-data-products-part3-live.ipynb index f0915c2..7c342d4 100644 --- a/pipeline_products_session/jwst-data-products-part3-live.ipynb +++ b/pipeline_products_session/jwst-data-products-part3-live.ipynb @@ -272,16 +272,16 @@ "source": [ "# For the catalog file:\n", "catalog_file_link = 'https://stsci.box.com/shared/static/272qsdpoax1cchy0gox96mobjpol780n.ecsv'\n", - "output_catalog = download_file(catalog_file_link)\n", + "output_catalog = download_file(catalog_file_link, cache=True)\n", "\n", "# For the NIRCam combined 2D image:\n", "combined_i2d_file_link = 'https://stsci.box.com/shared/static/1xjdi28u5o1lmkmau0wuojdyv8fnre5n.fits'\n", - "combined_i2d = download_file(combined_i2d_file_link)\n", + "combined_i2d = download_file(combined_i2d_file_link, cache=True)\n", "combined_i2d_file = \"example_nircam_imaging_i2d.fits\"\n", "\n", "# For the NIRCam WFSS 1D file:\n", "final_c1d_file_link = 'https://stsci.box.com/shared/static/ixfnu50ju78vs40dcec8i7w0u6kwtoli.fits'\n", - "final_c1d = download_file(final_c1d_file_link)\n", + "final_c1d = download_file(final_c1d_file_link, cache=True)\n", "final_c1d_file = \"example_nircam_wfss_c1d.fits\"\n", "\n", "# Save the files so that we can use them later\n", @@ -1058,7 +1058,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.1" + "version": "3.9.4" } }, "nbformat": 4, diff --git a/pipeline_products_session/jwst-data-products-part3-solutions.ipynb b/pipeline_products_session/jwst-data-products-part3-solutions.ipynb index 5c3f959..2de05ee 100644 --- a/pipeline_products_session/jwst-data-products-part3-solutions.ipynb +++ b/pipeline_products_session/jwst-data-products-part3-solutions.ipynb @@ -272,16 +272,16 @@ "source": [ "# For the catalog file:\n", "catalog_file_link = 'https://stsci.box.com/shared/static/272qsdpoax1cchy0gox96mobjpol780n.ecsv'\n", - "output_catalog = download_file(catalog_file_link)\n", + "output_catalog = download_file(catalog_file_link, cache=True)\n", "\n", "# For the NIRCam combined 2D image:\n", "combined_i2d_file_link = 'https://stsci.box.com/shared/static/1xjdi28u5o1lmkmau0wuojdyv8fnre5n.fits'\n", - "combined_i2d = download_file(combined_i2d_file_link)\n", + "combined_i2d = download_file(combined_i2d_file_link, cache=True)\n", "combined_i2d_file = \"example_nircam_imaging_i2d.fits\"\n", "\n", "# For the NIRCam WFSS 1D file:\n", "final_c1d_file_link = 'https://stsci.box.com/shared/static/ixfnu50ju78vs40dcec8i7w0u6kwtoli.fits'\n", - "final_c1d = download_file(final_c1d_file_link)\n", + "final_c1d = download_file(final_c1d_file_link, cache=True)\n", "final_c1d_file = \"example_nircam_wfss_c1d.fits\"\n", "\n", "# Save the files so that we can use them later\n", @@ -1076,7 +1076,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.1" + "version": "3.9.4" } }, "nbformat": 4, From 5cd3ce0edeca02c9ac248ad0a136fd709894dee6 Mon Sep 17 00:00:00 2001 From: Erik Tollerud Date: Wed, 28 Apr 2021 11:59:52 -0400 Subject: [PATCH 2/7] switch to using symlinks --- .../jwst-data-products-part1-live.ipynb | 10 ++++------ .../jwst-data-products-part1-solutions.ipynb | 10 ++++------ .../jwst-data-products-part2-live.ipynb | 5 ++--- .../jwst-data-products-part2-solutions.ipynb | 5 ++--- .../jwst-data-products-part3-live.ipynb | 10 ++++------ .../jwst-data-products-part3-solutions.ipynb | 12 +++++------- 6 files changed, 21 insertions(+), 31 deletions(-) diff --git a/pipeline_products_session/jwst-data-products-part1-live.ipynb b/pipeline_products_session/jwst-data-products-part1-live.ipynb index eba8f0e..e69319e 100644 --- a/pipeline_products_session/jwst-data-products-part1-live.ipynb +++ b/pipeline_products_session/jwst-data-products-part1-live.ipynb @@ -231,12 +231,10 @@ "exercise_obs = \"example_exercise_uncal.fits\"\n", "demo_ex_file = download_file(exercise_obs_link+exercise_obs, cache=True)\n", "\n", - "# Save the files so that we can use them later\n", - "with fits.open(demo_file, ignore_missing_end=True) as f:\n", - " f.writeto(uncal_obs, overwrite=True)\n", - " \n", - "with fits.open(demo_ex_file, ignore_missing_end=True) as f:\n", - " f.writeto(exercise_obs, overwrite=True) " + "# Create local links to the cached copy - this is not necessary - you can use the `demo_file`/`demo_ex_file` \n", + "# names directly. But this is a convenient to see what you've downloaded and remind yourself laiter\n", + "os.symlink(demo_file, uncal_obs)\n", + "os.symlink(demo_ex_file, exercise_obs) " ] }, { diff --git a/pipeline_products_session/jwst-data-products-part1-solutions.ipynb b/pipeline_products_session/jwst-data-products-part1-solutions.ipynb index 1836f62..7d8acd5 100644 --- a/pipeline_products_session/jwst-data-products-part1-solutions.ipynb +++ b/pipeline_products_session/jwst-data-products-part1-solutions.ipynb @@ -231,12 +231,10 @@ "exercise_obs = \"example_exercise_uncal.fits\"\n", "demo_ex_file = download_file(exercise_obs_link+exercise_obs, cache=True)\n", "\n", - "# Save the files so that we can use them later\n", - "with fits.open(demo_file, ignore_missing_end=True) as f:\n", - " f.writeto(uncal_obs, overwrite=True)\n", - " \n", - "with fits.open(demo_ex_file, ignore_missing_end=True) as f:\n", - " f.writeto(exercise_obs, overwrite=True) " + "# Create local links to the cached copy - this is not necessary - you can use the `demo_file`/`demo_ex_file` \n", + "# names directly. But this is a convenient to see what you've downloaded and remind yourself laiter\n", + "os.symlink(demo_file, uncal_obs)\n", + "os.symlink(demo_ex_file, exercise_obs) " ] }, { diff --git a/pipeline_products_session/jwst-data-products-part2-live.ipynb b/pipeline_products_session/jwst-data-products-part2-live.ipynb index ea9cb7e..fb31895 100644 --- a/pipeline_products_session/jwst-data-products-part2-live.ipynb +++ b/pipeline_products_session/jwst-data-products-part2-live.ipynb @@ -256,9 +256,8 @@ "for file in all_files:\n", " demo_file = download_file(file[0], cache=True)\n", " \n", - " # Save the file so that we can use it later\n", - " with fits.open(demo_file) as f:\n", - " f.writeto(file[1], overwrite=True)" + " # Make a symbolic link using a local name for convenience\n", + " os.symlink(demo_file, file[1])" ] }, { diff --git a/pipeline_products_session/jwst-data-products-part2-solutions.ipynb b/pipeline_products_session/jwst-data-products-part2-solutions.ipynb index 12b2ce2..c05f119 100644 --- a/pipeline_products_session/jwst-data-products-part2-solutions.ipynb +++ b/pipeline_products_session/jwst-data-products-part2-solutions.ipynb @@ -256,9 +256,8 @@ "for file in all_files:\n", " demo_file = download_file(file[0], cache=True)\n", " \n", - " # Save the file so that we can use it later\n", - " with fits.open(demo_file) as f:\n", - " f.writeto(file[1], overwrite=True)" + " # Make a symbolic link using a local name for convenience\n", + " os.symlink(demo_file, file[1])" ] }, { diff --git a/pipeline_products_session/jwst-data-products-part3-live.ipynb b/pipeline_products_session/jwst-data-products-part3-live.ipynb index 7c342d4..e9fb651 100644 --- a/pipeline_products_session/jwst-data-products-part3-live.ipynb +++ b/pipeline_products_session/jwst-data-products-part3-live.ipynb @@ -284,12 +284,10 @@ "final_c1d = download_file(final_c1d_file_link, cache=True)\n", "final_c1d_file = \"example_nircam_wfss_c1d.fits\"\n", "\n", - "# Save the files so that we can use them later\n", - "with fits.open(combined_i2d, ignore_missing_end=True) as f:\n", - " f.writeto(combined_i2d_file, overwrite=True)\n", - " \n", - "with fits.open(final_c1d, ignore_missing_end=True) as f:\n", - " f.writeto(final_c1d_file, overwrite=True) " + "# Create local links to the cached copies of the fits file. This is not necessary - you can use \n", + "#`combined_i2d`/`final_c1d` directly. But this is convenient to remind yourself later what you downloaded\n", + "os.symlink(combined_i2d, combined_i2d_file)\n", + "os.symlink(final_c1d, final_c1d_file) " ] }, { diff --git a/pipeline_products_session/jwst-data-products-part3-solutions.ipynb b/pipeline_products_session/jwst-data-products-part3-solutions.ipynb index 2de05ee..85ed7de 100644 --- a/pipeline_products_session/jwst-data-products-part3-solutions.ipynb +++ b/pipeline_products_session/jwst-data-products-part3-solutions.ipynb @@ -282,14 +282,12 @@ "# For the NIRCam WFSS 1D file:\n", "final_c1d_file_link = 'https://stsci.box.com/shared/static/ixfnu50ju78vs40dcec8i7w0u6kwtoli.fits'\n", "final_c1d = download_file(final_c1d_file_link, cache=True)\n", - "final_c1d_file = \"example_nircam_wfss_c1d.fits\"\n", + "final_c1d_file = \"example_nircam_wfss_c1d.fits\" \n", "\n", - "# Save the files so that we can use them later\n", - "with fits.open(combined_i2d, ignore_missing_end=True) as f:\n", - " f.writeto(combined_i2d_file, overwrite=True)\n", - " \n", - "with fits.open(final_c1d, ignore_missing_end=True) as f:\n", - " f.writeto(final_c1d_file, overwrite=True) " + "# Create local links to the cached copies of the fits file. This is not necessary - you can use \n", + "#`combined_i2d`/`final_c1d` directly. But this is convenient to remind yourself later what you downloaded\n", + "os.symlink(combined_i2d, combined_i2d_file)\n", + "os.symlink(final_c1d, final_c1d_file) " ] }, { From 9458b661c6cbea2d8d60bea750f2420a479f82e7 Mon Sep 17 00:00:00 2001 From: Alicia Canipe Date: Wed, 28 Apr 2021 13:14:44 -0400 Subject: [PATCH 3/7] Fixed typos in some cells --- .../jwst-data-products-part2-live.ipynb | 10 +++++----- .../jwst-data-products-part2-solutions.ipynb | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pipeline_products_session/jwst-data-products-part2-live.ipynb b/pipeline_products_session/jwst-data-products-part2-live.ipynb index c1faecd..6b87b04 100644 --- a/pipeline_products_session/jwst-data-products-part2-live.ipynb +++ b/pipeline_products_session/jwst-data-products-part2-live.ipynb @@ -482,7 +482,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Load the WFSS image into the appropriate model (hint: ImageModel)\n" + "# Load the WFSS image (wfss_rate_file[1]) into the appropriate model (hint: ImageModel)\n" ] }, { @@ -691,7 +691,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Load the calibrated WFSS data into a MultiSpecModel (use: cal_wfss) \n" + "# Load the calibrated WFSS data into a MultiSlitModel (use: cal_wfss) \n" ] }, { @@ -1106,7 +1106,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Do the detector to world transformormation for pixel (3, 500)\n" + "# Do the detector to world transformation for pixel (3, 500)\n" ] }, { @@ -1188,7 +1188,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Load the WFSS image into the appropriate model (hint: ImageModel)\n", + "# Load the WFSS image (wfss_rate_file[1]) into the appropriate model (hint: ImageModel)\n", "wfss_image = datamodels.ImageModel(wfss_rate_file[1])" ] }, @@ -1235,7 +1235,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Do the detector to world transformormation for pixel (3, 500)\n", + "# Do the detector to world transformation for pixel (3, 500)\n", "ra, dec = d2w(3, 500)" ] }, diff --git a/pipeline_products_session/jwst-data-products-part2-solutions.ipynb b/pipeline_products_session/jwst-data-products-part2-solutions.ipynb index 77c0fe2..e1a5644 100644 --- a/pipeline_products_session/jwst-data-products-part2-solutions.ipynb +++ b/pipeline_products_session/jwst-data-products-part2-solutions.ipynb @@ -492,7 +492,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Load the WFSS image into the appropriate model (hint: ImageModel)\n" + "# Load the WFSS image (wfss_rate_file[1]) into the appropriate model (hint: ImageModel)\n" ] }, { @@ -704,8 +704,8 @@ "metadata": {}, "outputs": [], "source": [ - "# Load the calibrated WFSS data into a MultiSpecModel (use: cal_wfss) \n", - "cal_wfss = datamodels.MultiSpecModel(wfss_cal_file[1])" + "# Load the calibrated WFSS data into a MultiSlitModel (use: cal_wfss) \n", + "cal_wfss = datamodels.MultiSlitModel(wfss_cal_file[1])" ] }, { @@ -857,7 +857,7 @@ "outputs": [], "source": [ "# Get the source ID and spectral order for slit 3 using the model \n", - "spec.spec[3].source_id, spec.spec[3].spectral_order" + "spec.spec[2].source_id, spec.spec[2].spectral_order" ] }, { @@ -1158,7 +1158,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Do the detector to world transformormation for pixel (3, 500)\n" + "# Do the detector to world transformation for pixel (3, 500)\n" ] }, { @@ -1240,7 +1240,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Load the WFSS image into the appropriate model (hint: ImageModel)\n", + "# Load the WFSS image (wfss_rate_file[1]) into the appropriate model (hint: ImageModel)\n", "wfss_image = datamodels.ImageModel(wfss_rate_file[1])" ] }, @@ -1287,7 +1287,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Do the detector to world transformormation for pixel (3, 500)\n", + "# Do the detector to world transformation for pixel (3, 500)\n", "ra, dec = d2w(3, 500)" ] }, From b37144f680d9ee49d50cc429766f515c37dfbe9a Mon Sep 17 00:00:00 2001 From: aliciacanipe Date: Wed, 28 Apr 2021 13:24:03 -0400 Subject: [PATCH 4/7] Update pipeline_products_session/jwst-data-products-part2-live.ipynb Co-authored-by: Erik Tollerud --- pipeline_products_session/jwst-data-products-part2-live.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline_products_session/jwst-data-products-part2-live.ipynb b/pipeline_products_session/jwst-data-products-part2-live.ipynb index 6b87b04..f85e2ff 100644 --- a/pipeline_products_session/jwst-data-products-part2-live.ipynb +++ b/pipeline_products_session/jwst-data-products-part2-live.ipynb @@ -482,7 +482,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Load the WFSS image (wfss_rate_file[1]) into the appropriate model (hint: ImageModel)\n" + "# Load the WFSS image (`wfss_rate_file[1]`) into the appropriate model (hint: ImageModel)\n" ] }, { From 4d3c31da2778b30cc507055a6be0ee82a5f426af Mon Sep 17 00:00:00 2001 From: aliciacanipe Date: Wed, 28 Apr 2021 13:25:00 -0400 Subject: [PATCH 5/7] Update pipeline_products_session/jwst-data-products-part2-live.ipynb Co-authored-by: Erik Tollerud --- pipeline_products_session/jwst-data-products-part2-live.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline_products_session/jwst-data-products-part2-live.ipynb b/pipeline_products_session/jwst-data-products-part2-live.ipynb index f85e2ff..bbef0ac 100644 --- a/pipeline_products_session/jwst-data-products-part2-live.ipynb +++ b/pipeline_products_session/jwst-data-products-part2-live.ipynb @@ -1188,7 +1188,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Load the WFSS image (wfss_rate_file[1]) into the appropriate model (hint: ImageModel)\n", + "# Load the WFSS image (`wfss_rate_file[1]`) into the appropriate model (hint: ImageModel)\n", "wfss_image = datamodels.ImageModel(wfss_rate_file[1])" ] }, From fcfc61f1feda49a859fa54789d989c10cf39cac5 Mon Sep 17 00:00:00 2001 From: aliciacanipe Date: Wed, 28 Apr 2021 13:25:36 -0400 Subject: [PATCH 6/7] Update pipeline_products_session/jwst-data-products-part2-solutions.ipynb Co-authored-by: Erik Tollerud --- .../jwst-data-products-part2-solutions.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline_products_session/jwst-data-products-part2-solutions.ipynb b/pipeline_products_session/jwst-data-products-part2-solutions.ipynb index e1a5644..adc446e 100644 --- a/pipeline_products_session/jwst-data-products-part2-solutions.ipynb +++ b/pipeline_products_session/jwst-data-products-part2-solutions.ipynb @@ -492,7 +492,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Load the WFSS image (wfss_rate_file[1]) into the appropriate model (hint: ImageModel)\n" + "# Load the WFSS image (`wfss_rate_file[1]`) into the appropriate model (hint: ImageModel)\n" ] }, { From 3276a3bb11bf946960d924c74aa3a1ef3652f02d Mon Sep 17 00:00:00 2001 From: aliciacanipe Date: Wed, 28 Apr 2021 13:25:42 -0400 Subject: [PATCH 7/7] Update pipeline_products_session/jwst-data-products-part2-solutions.ipynb Co-authored-by: Erik Tollerud --- .../jwst-data-products-part2-solutions.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline_products_session/jwst-data-products-part2-solutions.ipynb b/pipeline_products_session/jwst-data-products-part2-solutions.ipynb index adc446e..132440c 100644 --- a/pipeline_products_session/jwst-data-products-part2-solutions.ipynb +++ b/pipeline_products_session/jwst-data-products-part2-solutions.ipynb @@ -1240,7 +1240,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Load the WFSS image (wfss_rate_file[1]) into the appropriate model (hint: ImageModel)\n", + "# Load the WFSS image (`wfss_rate_file[1]`) into the appropriate model (hint: ImageModel)\n", "wfss_image = datamodels.ImageModel(wfss_rate_file[1])" ] },