Commit ea0a0ae7 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

update

parent 22ec4bca
......@@ -4762,10 +4762,14 @@ if __name__ == "__main__":
if len(sys.argv[:])>=2:
configfile=sys.argv[1]+'IFS_inputdata/configData/IFS_sim_C90.config'
if not os.path.exists(fonfigfile):
if not os.path.exists(configfile):
print('The given input fonfigfile path is wrong......')
sys.exit(1)
configfile=configfile0
if len(sys.argv[:])>=3:
sourcein=sys.argv[2]
......
......@@ -34,6 +34,9 @@ class TestDemoFunction(unittest.TestCase):
# demo function test
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim')
print(dir_path)
csst_ifs_sim(dir_path)
self.assertTrue(
......
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