From 2c4d90a66eae3191d0629c9062dc92f7774f0d9f Mon Sep 17 00:00:00 2001 From: Jo Taylor Date: Fri, 8 Dec 2023 18:03:21 -0500 Subject: [PATCH] Fix typo --- src/ullyses/create_ullyses_hlsp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ullyses/create_ullyses_hlsp.py b/src/ullyses/create_ullyses_hlsp.py index fdebd7e..63cf7dd 100644 --- a/src/ullyses/create_ullyses_hlsp.py +++ b/src/ullyses/create_ullyses_hlsp.py @@ -58,7 +58,7 @@ def make_lcogt_tss(indir, outdir, targ, hlspname=None, photfile=None): if not os.path.exists(outdir): os.makedirs(outdir) outfile = os.path.join(outdir, hlspname) - ull_targname = match_aliases(hlsp_targname, "target_name_ullyses") + ull_targname = match_aliases.match_aliases(hlsp_targname, "target_name_ullyses") U = Ullyses(files=filepaths, hlspname=outfile, targname=ull_targname, cal_ver=__version__, version=__release__, level=5, hlsp_type="lcogt", photfile=photfile) @@ -73,7 +73,7 @@ def make_xsu_hlsps(infile, outdir, targ, hlspname=None): if not os.path.exists(outdir): os.makedirs(outdir) outfile = os.path.join(outdir, hlspname) - ull_targname = match_aliases(hlsp_targname, "target_name_ullyses") + ull_targname = match_aliases.match_aliases(hlsp_targname, "target_name_ullyses") U = Ullyses(files=[infile], hlspname=outfile, targname=ull_targname, cal_ver=__version__, version=__release__, level=7, hlsp_type="xsu", overwrite=True)