MCPcopy Create free account
hub / github.com/audeering/opensmile / get_levels

Function get_levels

scripts/conf2dot.py:137–141  ·  view source on GitHub ↗
(property_value: str)

Source from the content-addressed store, hash-verified

135 print("Warning: property {} of component {}:{} appears to reference a data memory level but could not be interpreted as reading or writing.".format(property_name, section.name, section.type))
136 return False
137 def get_levels(property_value: str) -> List[str]:
138 if isinstance(property_value, str):
139 return [property_value]
140 elif isinstance(property_value, list):
141 return property_value
142
143 components = [(section.name, section.type) for section in sections.values() if section.type != "cComponentManager"]
144 levels = set()

Callers 1

generate_dot_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected