def parse_parameter_list(lines, parameters, num_params):
 for line_num in range(len(lines)):
  line = lines[line_num]
  line_floats_res = line_floats_re.findall(line)
  line_floats = [float(val) for val in line_floats_res]
  if (len(line_floats) == num_params):
   parameters['parameter list'] = line.strip()
   if ('SEs for parameters:' in lines[(line_num + 1)]):
    SEs_line = lines[(line_num + 2)]
    parameters['SEs'] = SEs_line.strip()
   break
 return parameters

def parse_parameter_list ( lines , parameters , num_params ) : for line_num in range ( len ( lines ) ) : line = lines [ line_num ] line_floats_res = line_floats_re . findall ( line ) line_floats = [ float ( val ) for val in line_floats_res ] if ( len ( line_floats ) == num_params ) : parameters [ 'parameter list' ] = line . strip ( ) if ( 'SEs for parameters:' in lines [ ( line_num + 1 ) ] ) : SEs_line = lines [ ( line_num + 2 ) ] parameters [ 'SEs' ] = SEs_line . strip ( ) break return parameters
parse the parameters list .