From f38cb23902e785bae7c350c82fe84d9fdea07f85 Mon Sep 17 00:00:00 2001 From: Liu Dezi Date: Thu, 9 May 2024 06:11:34 +0000 Subject: [PATCH] Replace test_field_distortion.py --- tests/test_field_distortion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_field_distortion.py b/tests/test_field_distortion.py index 38d6bcf..213d913 100644 --- a/tests/test_field_distortion.py +++ b/tests/test_field_distortion.py @@ -186,7 +186,7 @@ def field_distortion_model( iccdKey = "ccd" + str("0%d" % (iccd))[-2:] # load PSF data - ipsfDatn = cat_dir + "ccd%d_%s.dat" % (iccd, iwaveKey) + ipsfDatn = os.path.join(cat_dir, "ccd%d_%s.dat" % (iccd, iwaveKey)) ipsfDat = Table.read(ipsfDatn, format="ascii") for ipsf in range(1, npsf + 1): # if ipsf!=2: continue -- GitLab