We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 128af67 commit d67a8d6Copy full SHA for d67a8d6
OMPython/ModelicaSystem.py
@@ -184,6 +184,9 @@ def __init__(
184
if lmodel is None:
185
lmodel = []
186
187
+ if not isinstance(lmodel, list):
188
+ raise ModelicaSystemError(f"Invalid input type for lmodel: {type(lmodel)} - list expected!")
189
+
190
self.xmlFile = None
191
self.lmodel = lmodel # may be needed if model is derived from other model
192
self.modelName = modelName # Model class name
0 commit comments