writing mtcexp.txt
This commit is contained in:
parent
2673498bbf
commit
6b9a42fb99
@ -313,10 +313,11 @@ def main():
|
|||||||
print("%2s : %s : " % (m['idf'],m['sref']))
|
print("%2s : %s : " % (m['idf'],m['sref']))
|
||||||
|
|
||||||
if mod_globals.opt_exp:
|
if mod_globals.opt_exp:
|
||||||
for option in sorted(mtc):
|
with open( '../MTCSAVE/'+VIN+'/mtcexp.txt', 'w' ) as f:
|
||||||
res = acf_MTC_optionsExplorer( module_list, option, mtc )
|
for option in sorted(mtc):
|
||||||
for l in res:
|
res = acf_MTC_optionsExplorer( module_list, option, mtc )
|
||||||
print( l )
|
for l in res:
|
||||||
|
f.write( l + '\n' )
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
@ -262,12 +262,8 @@ def acf_MTC_optinInfluence( m, option, allmtc ):
|
|||||||
if option not in op.MTC: continue
|
if option not in op.MTC: continue
|
||||||
res = acf_MTC_compare(op.MTC, allmtc)
|
res = acf_MTC_compare(op.MTC, allmtc)
|
||||||
if res:
|
if res:
|
||||||
tmpMTC = op.MTC.split()
|
|
||||||
if op.MTC.startswith('SAUF'): continue
|
if op.MTC.startswith('SAUF'): continue
|
||||||
#if len(tmpMTC)==2 and tmpMTC[0]=='SAUF' and tmpMTC[1]!=option: continue
|
out = out + '%-70s;%-15s;%-15s;%s\n'%(cu.DI, op.VW, op.MTC, op.TEX)
|
||||||
out = out + '%-100s;%-30s;%-10s;%s\n'%(cu.DI, op.MTC, op.VW, op.TEX)
|
|
||||||
#out = out + '%-100s;%-30s;%-10s;%s\n'%(cu.TE, op.MTC, op.VW, op.TEX)
|
|
||||||
#break
|
|
||||||
|
|
||||||
return out
|
return out
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user