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 637b3bc commit a8e5226Copy full SHA for a8e5226
docs/examples/twri.py
@@ -173,7 +173,7 @@ def plot_head(head, workspace):
173
tdis = flopy4.mf6.simulation.Tdis.from_time(time)
174
175
# Create workspace
176
-workspace = Path(__file__).parent / "twri" / "list_stresspkg"
+workspace = Path.cwd() / "twri" / "list_stresspkg"
177
workspace.mkdir(parents=True, exist_ok=True)
178
179
# Create simulation
@@ -260,7 +260,7 @@ def plot_head(head, workspace):
260
gwf.rcha = [rcha]
261
262
# create new workspace
263
-workspace = Path(__file__).parent / "twri" / "array_stresspkg"
+workspace = Path.cwd() / "twri" / "array_stresspkg"
264
265
sim.workspace = workspace
266
0 commit comments