Commit f38cb239 authored by Liu Dezi's avatar Liu Dezi
Browse files

Replace test_field_distortion.py

parent 06867319
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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