def parse_siteclass_omegas(line, site_classes):
 line_floats = re.findall('\\d{1,3}\\.\\d{5}', line)
 if ((not site_classes) or (len(line_floats) == 0)):
  return
 for n in range(len(line_floats)):
  site_classes[n]['omega'] = line_floats[n]
 return site_classes

def parse_siteclass_omegas ( line , site_classes ) : line_floats = re . findall ( '\\d{1,3}\\.\\d{5}' , line ) if ( ( not site_classes ) or ( len ( line_floats ) == 0 ) ) : return for n in range ( len ( line_floats ) ) : site_classes [ n ] [ 'omega' ] = line_floats [ n ] return site_classes
for models which have multiple site classes .