From 02cbe520fe7216824e942361354b887561d67784 Mon Sep 17 00:00:00 2001 From: "Sebastian (X1)" Date: Thu, 9 Nov 2023 12:24:19 +0100 Subject: [PATCH] road to windows util.py --- src/pacman/lib/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pacman/lib/util.py b/src/pacman/lib/util.py index 1ca9c5b..b9010c2 100644 --- a/src/pacman/lib/util.py +++ b/src/pacman/lib/util.py @@ -179,9 +179,9 @@ def ancil(meta, s10=False, s20=False): if s20: meta.rdnoise = 22.0 #read noise if meta.grism == 'G102': - meta.flat = os.path.join(meta.pacmandir + 'data', 'flats', 'WFC3.IR.G102.flat.2.fits') + meta.flat = os.path.join(meta.pacmandir, 'data', 'flats', 'WFC3.IR.G102.flat.2.fits') elif meta.grism == 'G141': - meta.flat = os.path.join(meta.pacmandir + 'data', 'flats', 'WFC3.IR.G141.flat.2.fits') + meta.flat = os.path.join(meta.pacmandir, 'data', 'flats', 'WFC3.IR.G141.flat.2.fits') return meta