1 inputFile = open(
"clockInfoCheck",
'r')
3 lines = inputFile.readlines()
7 clockInHalfColumns = [set()
for i
in range(0, 40)]
9 while (i < len(lines)):
10 if (lines[i].find(
"=============") >= 0):
11 curLine = lines[i].replace(
"=",
"").replace(
"\n",
"").split(
" ")
12 rowY = int(curLine[2])
13 clockNum = int(curLine[4])
15 for j
in range(0, clockNum):
17 clockInHalfColumns[halfColId].add(lines[i+1+j])
18 if (len(clockInHalfColumns[halfColId]) > 12):
19 print(
"halfColumn ", halfColId,
" exceeed limit with ",
20 len(clockInHalfColumns[halfColId]),
"clocks in it")
21 for clockName
in clockInHalfColumns[halfColId]: