From bf8acf2141d2a8aae6117ab2cca9be2d4cfda5eb Mon Sep 17 00:00:00 2001 From: Feng Shuai Date: Mon, 15 Apr 2024 10:50:04 +0000 Subject: [PATCH] Update csst_ifs_gehong/spec1d.py --- csst_ifs_gehong/spec1d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csst_ifs_gehong/spec1d.py b/csst_ifs_gehong/spec1d.py index c91ae5b..bcb7f07 100644 --- a/csst_ifs_gehong/spec1d.py +++ b/csst_ifs_gehong/spec1d.py @@ -8,7 +8,7 @@ from astropy.io import fits from scipy.stats import norm from scipy.interpolate import interp1d -data_path = os.getcwd() +data_path = os.path.dirname(os.path.abspath(__file__)) def readcol(filename, **kwargs): """ -- GitLab