norm file format spec lines beginning with a semicolon ';' a pound sign '#' or the letters 'REM' (uppercase or lowercase) will be ignored. More...
Public Member Functions | |
def | __init__ (self, filename) |
def | parse (self) |
Private Attributes | |
__datasectionname | |
__defsectionname | |
__inifilename | |
__parser | |
norm file format spec lines beginning with a semicolon ';' a pound sign '#' or the letters 'REM' (uppercase or lowercase) will be ignored.
section uppercase [NORMDEFINITION] #section required only if first create name=HFtest #priority to commandline –name option if present comment= lumitype= istypedefault= [NORMDATA Since] # section required since= corrector= norm_occ1= norm_occ2= amodetag= egev= comment= ...
Definition at line 23 of file normFileParser.py.
def normFileParser.normFileParser.__init__ | ( | self, | |
filename | |||
) |
Definition at line 24 of file normFileParser.py.
def normFileParser.normFileParser.parse | ( | self | ) |
output: [ {defoption:value},[{dataoption:value}] ]
Definition at line 29 of file normFileParser.py.
References normFileParser.normFileParser.__datasectionname, normFileParser.normFileParser.__defsectionname, and normFileParser.normFileParser.__inifilename.
|
private |
Definition at line 28 of file normFileParser.py.
Referenced by normFileParser.normFileParser.parse().
|
private |
Definition at line 27 of file normFileParser.py.
Referenced by normFileParser.normFileParser.parse().
|
private |
Definition at line 26 of file normFileParser.py.
Referenced by normFileParser.normFileParser.parse().
|
private |
Definition at line 25 of file normFileParser.py.