From 50f8dc5d5f7fac238824f9ad67ede91029519d1a Mon Sep 17 00:00:00 2001 From: Liu Dezi Date: Thu, 9 May 2024 06:42:55 +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 213d913..0f77edb 100644 --- a/tests/test_field_distortion.py +++ b/tests/test_field_distortion.py @@ -238,7 +238,7 @@ def field_distortion_model( # if iccd!=1: continue iccdKey = "ccd" + str("0%d" % (iccd))[-2:] # open the ditortion 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") ixwList, iywList = [], [] -- GitLab