MCPcopy Create free account
hub / github.com/SimVascular/SimVascular / warning

Method warning

Code/Source/PythonAPI/PyUtils.cxx:86–91  ·  view source on GitHub ↗

--------- warning --------- Raise a warning exception. This causes a 'RuntimeWarning' but allows the script to continue.

Source from the content-addressed store, hash-verified

84// to continue.
85//
86void PyUtilApiFunction::warning(std::string msg)
87{
88 Py_ssize_t stack_level = 1;
89 auto emsg = this->msgp + msg;
90 PyErr_WarnEx(nullptr, emsg.c_str(), stack_level);
91}
92
93
94//---------------------

Callers 4

PathSeries_readFunction · 0.80
read_segment_dataMethod · 0.80
set_parametersFunction · 0.80
extract_results.pyFile · 0.80

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected