From baa0026855f372c39e48543789f651107cd98f05 Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Sun, 20 Oct 2019 21:38:53 +1300 Subject: [PATCH] fix(mfsms): load options --- flopy/modflow/mfsms.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flopy/modflow/mfsms.py b/flopy/modflow/mfsms.py index a8f75e69ab..0520b56b53 100644 --- a/flopy/modflow/mfsms.py +++ b/flopy/modflow/mfsms.py @@ -392,9 +392,10 @@ def load(f, model, ext_unit_dict=None): # Record 1a nopt = 0 opts = ['simple', 'moderate', 'complex'] + options = [] for o in opts: if o in line.lower(): - options.append(0) + options.append(o) nopt += 1 if nopt > 0: @@ -546,7 +547,7 @@ def load(f, model, ext_unit_dict=None): iacl=iacl, norder=norder, level=level, north=north, iredsys=iredsys, rrctol=rrctol, idroptol=idroptol, epsrn=epsrn, clin=clin, ipc=ipc, iscl=iscl, - iord=iord, rclosepcgu=rclosepcgu, + iord=iord, rclosepcgu=rclosepcgu, options=options, relaxpcgu=relaxpcgu, unitnumber=unitnumber, filenames=filenames) return sms