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

update

parent 22ec4bca
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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]
        
+3 −0
Original line number Diff line number Diff line
@@ -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(