Commit 22ec4bca authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

update

parent 18532da0
Pipeline #3933 passed with stage
in 0 seconds
......@@ -4761,7 +4761,7 @@ if __name__ == "__main__":
if len(sys.argv[:])>=2:
configfile=sys.argv[1]
configfile=sys.argv[1]+'IFS_inputdata/configData/IFS_sim_C90.config'
if not os.path.exists(fonfigfile):
print('The given input fonfigfile path is wrong......')
sys.exit(1)
......
......@@ -32,7 +32,7 @@ class TestDemoFunction(unittest.TestCase):
This case aims to test whether the demo function returns `1` if input is `None`.
"""
# demo function test
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/IFS_inputData/configData')
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim')
csst_ifs_sim(dir_path)
......@@ -58,7 +58,7 @@ class TestDemoFunction(unittest.TestCase):
This case aims to test whether the demo function returns `1` if input is `None`.
"""
# demo function test
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/IFS_inputData/configData')
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim')
csst_ifs_sim(dir_path,BIAS)
......@@ -83,7 +83,7 @@ class TestDemoFunction(unittest.TestCase):
This case aims to test whether the demo function returns `1` if input is `None`.
"""
# demo function test
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/IFS_inputData/configData')
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim')
csst_ifs_sim(dir_path,'DARK')
......@@ -110,7 +110,7 @@ class TestDemoFunction(unittest.TestCase):
This case aims to test whether the demo function returns `1` if input is `None`.
"""
# demo function test
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/IFS_inputData/configData')
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim')
csst_ifs_sim(dir_path,'LAMP')
......@@ -137,7 +137,7 @@ class TestDemoFunction(unittest.TestCase):
This case aims to test whether the demo function returns `1` if input is `None`.
"""
# demo function test
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/IFS_inputData/configData')
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim')
csst_ifs_sim(dir_path,'FLAT')
......@@ -163,7 +163,7 @@ class TestDemoFunction(unittest.TestCase):
This case aims to test whether the demo function returns `1` if input is `None`.
"""
# demo function test
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/IFS_inputData/configData')
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim')
csst_ifs_sim(dir_path,'LAMP', 'yes')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment