From 7a56d02f25070cb234c3698981649696899de59b Mon Sep 17 00:00:00 2001 From: yan Date: Wed, 10 Apr 2024 17:55:23 +0800 Subject: [PATCH] update setup.py --- csst_ifs_sim/csst_ifs_sim.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csst_ifs_sim/csst_ifs_sim.py b/csst_ifs_sim/csst_ifs_sim.py index ef664c6..2adbfed 100644 --- a/csst_ifs_sim/csst_ifs_sim.py +++ b/csst_ifs_sim/csst_ifs_sim.py @@ -964,7 +964,7 @@ class IFSsimulator(): :type opts: OptionParser instance """ - def __init__(self, opts): + def __init__(self, configfile): """ Class Constructor. @@ -975,7 +975,7 @@ class IFSsimulator(): #################################### - self.configfile = opts.configfile + self.configfile = configfile # if opts.section is None: # ####self.section = 'DEFAULT' -- GitLab