Skip to content

Commit 1f4d6d0

Browse files
committed
update(MFSimulationBase): allow simulations to have no attached models
1 parent 0f14f1f commit 1f4d6d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flopy/mf6/mfsimbase.py

+3
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,9 @@ def load(
805805
package="nam",
806806
message=message,
807807
)
808+
if models is None:
809+
return instance
810+
808811
for item in models:
809812
# resolve model working folder and name file
810813
path, name_file = os.path.split(item[1])

0 commit comments

Comments
 (0)