Skip to content

Commit 957a1f1

Browse files
committed
attempt to fix fails report
1 parent 2ed336d commit 957a1f1

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

archive/ukmon_pylib/reports/findFailedMatches.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,18 @@ def processOneLog(logfile, repfile):
2525
obs = True
2626
if obs is True:
2727
observation.append(li)
28-
if 'Shower:' in li:
28+
if 'Saving trajectory:' in li:
2929
obs = False
3030
observation = []
31-
if '--------------------' in li:
31+
if 'Updating database' in li or 'added to fails' in li:
3232
if obs is True:
33-
observation.append(li)
3433
print('got fail')
34+
observation.append('--------------')
3535
saveData(observation, repfile)
3636
obs = False
3737
observation = []
38+
if "SOLVING RUN DONE" in li:
39+
break
3840

3941
return
4042

0 commit comments

Comments
 (0)