Skip to content

Commit fd100f3

Browse files
committed
??? fix mypy
1 parent 50bdc97 commit fd100f3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,6 +1914,8 @@ def __init__(
19141914
ModelicaSystem.simulate(). Additionally, the path to store the result files is needed (= resultpath) as well as
19151915
a list of parameters to vary for the Doe (= parameters). All possible combinations are considered.
19161916
"""
1917+
if modelName is None:
1918+
raise ModelicaSystemError("No model name provided!")
19171919

19181920
self._mod = ModelicaSystem(
19191921
commandLineOptions=commandLineOptions,

0 commit comments

Comments
 (0)