From af0d3514e12b8ecc6804cbbdb4590b93219821a6 Mon Sep 17 00:00:00 2001 From: joe Date: Mon, 13 Feb 2023 15:29:23 -0800 Subject: [PATCH] Addressing PR comments. --- pypeit/scripts/show_2dspec.py | 4 +++- pypeit/scripts/view_fits.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pypeit/scripts/show_2dspec.py b/pypeit/scripts/show_2dspec.py index 2928dbceda..a058b9d68f 100644 --- a/pypeit/scripts/show_2dspec.py +++ b/pypeit/scripts/show_2dspec.py @@ -18,6 +18,7 @@ from pypeit import slittrace from pypeit import specobjs from pypeit import io +from pypeit import utils from pypeit.display import display from pypeit.images.imagebitmask import ImageBitMask @@ -284,7 +285,8 @@ def main(args): {}) if args.embed: - embed() + embed(header=utils.embed_header()) + # Playing with some mask stuff #out = shell.start_operation('TVMask') diff --git a/pypeit/scripts/view_fits.py b/pypeit/scripts/view_fits.py index 31eb901979..9cebd3ffcf 100644 --- a/pypeit/scripts/view_fits.py +++ b/pypeit/scripts/view_fits.py @@ -8,6 +8,7 @@ from IPython import embed from pypeit.scripts import scriptbase +from pypeit import utils class ViewFits(scriptbase.ScriptBase): @@ -130,5 +131,5 @@ def main(args): if args.embed: - embed() + embed(header=utils.embed_header())