Skip to content

Commit

Permalink
fix(mfsms): load options
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews committed Oct 20, 2019
1 parent 0ec2ac0 commit baa0026
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flopy/modflow/mfsms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit baa0026

Please sign in to comment.