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

Class OpenSmileException

progsrc/smileapi/python/opensmile/SMILEapi.py:214–227  ·  view source on GitHub ↗

Exception thrown for internal openSMILE errors.

Source from the content-addressed store, hash-verified

212
213
214class OpenSmileException(Exception):
215 """
216 Exception thrown for internal openSMILE errors.
217 """
218
219 def __init__(self, code: int, message: Optional[str] = None):
220 self.code = code
221 self.message = message
222
223 def __str__(self):
224 if self.message:
225 return "Code: {}, Message: {}".format(self.code, self.message)
226 else:
227 return "Code: {}".format(self.code)
228
229
230class OpenSMILE(object):

Callers 2

__init__Method · 0.70
_check_smile_resultMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected