parameters: (prop_list)
docstring: Validations a list of OEProp computations. Throws if not found
docstring_summary: Validations a list of OEProp computations. Throws if not found
docstring_tokens: Validations a list of OEProp computations . Throws if not found
function: def oeprop_validator(prop_list):
      """
      Validations a list of OEProp computations. Throws if not found
  
      """
      oeprop_methods = core.OEProp.valid_methods
  
      if not len(prop_list):
          raise ValidationError("OEProp: No properties specified!")
  
      for prop in prop_list:
          prop = prop.upper()
  
          if 'MULTIPOLE(' in prop: continue
  
          if prop not in oeprop_methods:
              alt_method_name = p4util.text.find_approximate_string_matches(prop, oeprop_methods, 2)
              alternatives = ""
              if len(alt_method_name) > 0:
                  alternatives = " Did you mean? %s" % (" ".join(alt_method_name))
  
              raise ValidationError("OEProp: Feature '%s' is not recognized. %s" % (prop, alternatives))
function_tokens: def oeprop_validator ( prop_list ) : oeprop_methods = core . OEProp . valid_methods if not len ( prop_list ) : raise ValidationError ( "OEProp: No properties specified!" ) for prop in prop_list : prop = prop . upper ( ) if 'MULTIPOLE(' in prop : continue if prop not in oeprop_methods : alt_method_name = p4util . text . find_approximate_string_matches ( prop , oeprop_methods , 2 ) alternatives = "" if len ( alt_method_name ) > 0 : alternatives = " Did you mean? %s" % ( " " . join ( alt_method_name ) ) raise ValidationError ( "OEProp: Feature '%s' is not recognized. %s" % ( prop , alternatives ) )