Commit 689d73d0 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

debug

parent bb5d1b1f
...@@ -5048,7 +5048,7 @@ class MCIsimulator(): ...@@ -5048,7 +5048,7 @@ class MCIsimulator():
self.load_filter_PSF() self.load_filter_PSF()
self.information['simnumber']=simnumber self.information['simnumber']=simnumber
self.debug=True self.debug = self.information['debug']
########################### ###########################
flag=0 flag=0
...@@ -5484,7 +5484,7 @@ class MCIsimulator(): ...@@ -5484,7 +5484,7 @@ class MCIsimulator():
################################################################################################ ################################################################################################
def runMCIsim(sourcein,configfile,dir_path,iLoop): def runMCIsim(sourcein,configfile,dir_path, debug, iLoop):
print('路径Test:dir_path', dir_path) print('路径Test:dir_path', dir_path)
...@@ -5495,6 +5495,7 @@ def runMCIsim(sourcein,configfile,dir_path,iLoop): ...@@ -5495,6 +5495,7 @@ def runMCIsim(sourcein,configfile,dir_path,iLoop):
sim[iLoop].configure(iLoop,sourcein,dir_path) # load the configfile; sim[iLoop].configure(iLoop,sourcein,dir_path) # load the configfile;
sim[iLoop].information['sourcein'] =sourcein sim[iLoop].information['sourcein'] =sourcein
sim[iLoop].information['debug'] =debug
sim[iLoop].simulate(iLoop) sim[iLoop].simulate(iLoop)
......
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