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 b2d2fab commit 6278a42Copy full SHA for 6278a42
flopy4/mf6/simulation.py
@@ -23,11 +23,13 @@ def convert_time(value):
23
24
@xattree
25
class Simulation(Context):
26
- tdis: Tdis = field(converter=convert_time, block="timing")
+ tdis: Tdis = field(block="timing", converter=convert_time)
27
models: dict[str, Model] = field(block="models")
28
exchanges: dict[str, Exchange] = field(block="exchanges")
29
solutions: dict[str, Solution] = field(block="solutiongroup")
30
- filename: str = field(default="mfsim.nam", init=False)
+
31
+ def default_filename(self) -> str:
32
+ return "mfsim.nam"
33
34
def __attrs_post_init__(self):
35
super().__attrs_post_init__()
0 commit comments