We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c664d6d commit 30abed1Copy full SHA for 30abed1
1 file changed
modelitool/simulate.py
@@ -106,9 +106,10 @@ def simulate(
106
if simulation_options is not None:
107
if x is not None and 'x' in simulation_options:
108
warnings.warn(
109
- "Boundary file 'x' specified both in simulation_options and as a direct parameter."
110
- " The 'x' provided in simulate() will be used.",
111
- UserWarning
+ "Boundary file 'x' specified both in simulation_options and as a "
+ "direct parameter. The 'x' provided in simulate() will be used.",
+ UserWarning,
112
+ stacklevel=2
113
)
114
115
self._set_simulation_options(simulation_options)
0 commit comments