3 |
|
fileList, crabResDir = sys.argv[1:] |
4 |
|
execfile(fileList) |
5 |
|
|
6 |
< |
fileNameRE = re.compile("output_([0-9]+)_.*") |
6 |
> |
fileNameRE = re.compile("output_([0-9]+).*root") |
7 |
|
fileNameRE2 = re.compile("patified_([0-9]+).root") |
8 |
|
lineRE = re.compile("\[E\( ([0-9]+) \)E\]") |
9 |
|
|
19 |
|
index = int(m.group(1)) |
20 |
|
if index in indexes: |
21 |
|
raise Exception, "Index %s appears for the second time in \"%s\"." % (m.group(0), fileName) |
22 |
+ |
# indexes[index] = True |
23 |
|
|
24 |
|
try: |
25 |
|
f = open("%s/CMSSW_%d.stdout" % (crabResDir, index)) |