Commit 2f8c6d2
(A013) [ModelicaSystemDoE] simplify definition (#423)
* update docstring of __init__.py - do not promote depreciated OMCSessionZMQ
* reorder imports in __init__.py
* [OMCSession] use function keyword arguments if possible
* (A013) [ModelicaSystemDoE] simplify definition
[ModelicaSystemDoE] simplify definition; use a Modelicasystem instance as argument
[ModelicaSystemDoE] update docstring
[ModelicaSystemDoE] fix for relative paths
[ModelicaSystemDoE] fix unittest
* test_ModelicaSystemDoE_local is tested
* test_ModelicaSystemDoE_docker should work
* test_ModelicaSystemDoE_WSL is untested
* do not compare to a hard-coded version string but verify that there is a (gerneric) OpenModelica version string
---------
Co-authored-by: Adeel Asghar <adeel.asghar@liu.se>1 parent 8da06a2 commit 2f8c6d2
File tree
4 files changed
+59
-42
lines changed- OMPython
- tests
4 files changed
+59
-42
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
464 | 473 | | |
465 | 474 | | |
466 | 475 | | |
| |||
2051 | 2060 | | |
2052 | 2061 | | |
2053 | 2062 | | |
2054 | | - | |
| 2063 | + | |
| 2064 | + | |
2055 | 2065 | | |
2056 | 2066 | | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
2057 | 2070 | | |
2058 | 2071 | | |
2059 | 2072 | | |
| |||
2080 | 2093 | | |
2081 | 2094 | | |
2082 | 2095 | | |
2083 | | - | |
2084 | | - | |
2085 | | - | |
2086 | | - | |
2087 | | - | |
2088 | | - | |
2089 | | - | |
2090 | | - | |
2091 | | - | |
| 2096 | + | |
| 2097 | + | |
2092 | 2098 | | |
2093 | 2099 | | |
2094 | 2100 | | |
| |||
2101 | 2107 | | |
2102 | 2108 | | |
2103 | 2109 | | |
2104 | | - | |
2105 | | - | |
2106 | | - | |
2107 | | - | |
2108 | | - | |
2109 | | - | |
2110 | | - | |
2111 | | - | |
2112 | | - | |
2113 | | - | |
2114 | | - | |
2115 | | - | |
2116 | | - | |
2117 | | - | |
2118 | | - | |
| 2110 | + | |
| 2111 | + | |
2119 | 2112 | | |
2120 | | - | |
| 2113 | + | |
| 2114 | + | |
2121 | 2115 | | |
2122 | 2116 | | |
2123 | 2117 | | |
2124 | 2118 | | |
2125 | 2119 | | |
2126 | 2120 | | |
2127 | | - | |
| 2121 | + | |
2128 | 2122 | | |
2129 | 2123 | | |
2130 | 2124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | | - | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
73 | | - | |
| 78 | + | |
| 79 | + | |
74 | 80 | | |
75 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
76 | 85 | | |
77 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
78 | 91 | | |
79 | | - | |
80 | | - | |
| 92 | + | |
81 | 93 | | |
82 | 94 | | |
83 | 95 | | |
| |||
86 | 98 | | |
87 | 99 | | |
88 | 100 | | |
89 | | - | |
90 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
91 | 104 | | |
92 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
93 | 109 | | |
94 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
95 | 115 | | |
96 | | - | |
97 | | - | |
| 116 | + | |
98 | 117 | | |
99 | 118 | | |
100 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | | - | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
0 commit comments