Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
84ccc31
[ModelicaSystemCmd] draft
syntron Apr 26, 2025
0b09234
[ModelicaSystemCmd] define and use it - needs cleanup!
syntron Apr 28, 2025
ed7a160
[ModelicaSystemCmd] update handling of simargs
syntron Apr 28, 2025
086f7b5
[ModelicaSystemCmd] move handling of simflags info this class
syntron Apr 28, 2025
e35b645
[ModelicaSystemCmd] cleanup / docstrings
syntron Apr 28, 2025
6826822
[ModelicaSystemCmd] simplify
syntron Apr 28, 2025
43350ee
[__init__] make ModelicaSystemCmd available
syntron Apr 28, 2025
a1e6fd3
[ModelicaSystemCmd] special handling for override in simflags / simargs
syntron Apr 28, 2025
c2f2c28
[ModelicaSystemCmd] split run() - create command in get_cmd() and get…
syntron Apr 28, 2025
9d83dd4
[ModelicaSystem] use pathlib.Path() / simplify
syntron Apr 28, 2025
bf21a7a
[ModelicaSystemCmd] do *NOT* raise error if returncode != 0
syntron Apr 28, 2025
f02d506
[ModelicaSystemCmd.run()] use repr(cmdl) in log messages / exceptions
syntron May 3, 2025
59d11c2
[ModelicaSystemCmd] fix exception handling
syntron May 12, 2025
cf5e0b9
[tests] for ModelicaSystemCmd
syntron Apr 28, 2025
4aaf761
[ModelicaSystem] fix flake8 error
syntron Apr 29, 2025
91a2839
Merge branch 'master' into add_ModelicaSystemCmd
adeas31 May 22, 2025
f0f9b28
[ModelicaSystemCmd] spelling fix
syntron May 22, 2025
ca12188
[LinearizationResult] spelling fix
syntron May 22, 2025
e33537a
[ModelicaSystemCmd] update definition of arg_set() - use Optional[]
syntron May 22, 2025
a8d2e31
[ModelicaSystemCmd] fix mypy warnings
syntron May 22, 2025
3a70dff
[ModelicaSystemCmd] some cleanup of docstring for parse_simplags()
syntron May 22, 2025
860d6cf
[ModelicaSystemCmd] additional type hints clarifications
syntron May 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[ModelicaSystemCmd] some cleanup of docstring for parse_simplags()
  • Loading branch information
syntron committed May 22, 2025
commit 3a70dffd2f75faf4e0fe79fd50a2de0f43ddaed1
3 changes: 2 additions & 1 deletion OMPython/ModelicaSystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ def parse_simflags(simflags: str) -> dict:
"""
Parse a simflag definition; this is depreciated!

The return data can be used as input for self.args_set().

Parameters
----------
simflags : str
Expand All @@ -277,7 +279,6 @@ def parse_simflags(simflags: str) -> dict:
-------
dict
"""
# add old style simulation arguments
warnings.warn("The argument 'simflags' is depreciated and will be removed in future versions; "
"please use 'simargs' instead", DeprecationWarning, stacklevel=2)

Expand Down