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

test

parent 13f82970
Pipeline #4004 failed with stage
in 0 seconds
......@@ -5127,7 +5127,11 @@ class MCIsimulator():
##############################################################################################
##############################################################################################
sourcelist=['EXDF','STAR','PIPR','TRNS','COMB','CALI']
sourcelist=['EXDF','STAR','PIPR','TRNS','COMB','CALI','DARK','BIAS','FLAT']
if self.source not in sourcelist:
print('Sourcein is wront')
sys.exit(1)
self.source=self.information['sourcein']
self.information['ver']='01'
self._loadGhostModel()
......
......@@ -21,7 +21,7 @@ class TestDemoFunction(unittest.TestCase):
"""
Aim
---
Test ifs sim function: SCI case.
Test mci sim function: EXDF case.
Criteria
--------
......@@ -40,7 +40,7 @@ class TestDemoFunction(unittest.TestCase):
configfile = './mci_data/mci_all_9K.config'
sourcein = 'SCI'
sourcein = 'EXDF'
print(configfile)
csst_mci_sim.runMCIsim(sourcein, configfile, dir_path, 1)
......
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