MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / _model_param_names

Function _model_param_names

SLiCAP/schematic/model_dialog.py:19–28  ·  view source on GitHub ↗

Standard SLiCAP parameter names for the given model type.

(model_type: str)

Source from the content-addressed store, hash-verified

17
18
19def _model_param_names(model_type: str) -> list:
20 """Standard SLiCAP parameter names for the given model type."""
21 try:
22 from SLiCAP.SLiCAPprotos import _MODELS
23 m = _MODELS.get(model_type)
24 if m:
25 return list(m.params.keys())
26 except Exception:
27 pass
28 return []
29
30
31def _find_slicap_preamble() -> str:

Callers 1

_refill_paramsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected