Definition at line 6 of file createFEDtable.py.
7 reFedEntry = re.compile(
'\s*(MIN|MAX)(?P<name>.*)FEDID\s*=\s*(?P<id>[0-9]+).*')
10 with open(fedNumberingHeader)
as fedNumbering:
11 for line
in fedNumbering:
12 match = reFedEntry.match(line)
13 if match
and match.group(
'name'):
15 entries[match.group(
'name')].
append(
int(match.group(
'id')))
17 entries[match.group(
'name')] = [
int(match.group(
'id'))]
18 entries[match.group(
'name')].sort()
19 return sorted(entries.items(), key=
lambda e: e[1][0])
References mps_setup.append, and createfilelist.int.