1 |
peller |
1.1 |
#!/usr/bin/env python
|
2 |
|
|
from samplesinfo import sample
|
3 |
|
|
import pickle
|
4 |
|
|
import sys
|
5 |
|
|
import init
|
6 |
|
|
|
7 |
|
|
filename=sys.argv[1]
|
8 |
|
|
|
9 |
|
|
infofile = open(init.Wdir+'/weights/'+filename,'r')
|
10 |
|
|
job = pickle.load(infofile)
|
11 |
|
|
|
12 |
|
|
print '\n\n\t\033[1;34mLOADED INFO OF %s MVA\033[1;m\n'%job.MVAname
|
13 |
|
|
|
14 |
|
|
print '\t\tfactory name: %s'%job.factoryname
|
15 |
|
|
print '\t\tfactorysettings: \033[1;31m%s\033[1;m'%job.factorysettings
|
16 |
|
|
print '\t\tMVAname: %s'%job.MVAname
|
17 |
|
|
print '\t\tMVAtype: %s'%job.MVAtype
|
18 |
|
|
print '\t\tMVAsettings: \033[1;31m%s\033[1;m'%job.MVAsettings
|
19 |
|
|
print '\t\ttrained on: %s'%job.Tpath
|
20 |
|
|
print '\t\tevaluated on: %s'%job.Epath
|
21 |
|
|
print '\t\tVariables: \033[1;32m%s\033[1;m'%job.vars
|
22 |
|
|
print '\t\tSpectators: \033[1;32m%s\033[1;m'%job.spectators
|
23 |
|
|
comments=str.split(job.comment,'\n')
|
24 |
|
|
print '\t\tsample info:'
|
25 |
|
|
for comment in comments:
|
26 |
|
|
print '\t\t\t'+ comment
|
27 |
|
|
print ''
|
28 |
|
|
infofile.close() |