Skip to content

Commit 85105ae

Browse files
mjrenomjreno
authored andcommitted
restore workflow
1 parent 6c76559 commit 85105ae

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/commit.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ jobs:
166166
working-directory: flopy
167167
run: |
168168
pixi run --manifest-path=../modflow6/pixi.toml pip install --no-deps -e .
169+
pixi run --manifest-path=../modflow6/pixi.toml python -m flopy.mf6.utils.generate_classes --dfnpath ../modflow6/doc/mf6io/mf6ivar/dfn
169170
170171
- name: Build MF6
171172
working-directory: modflow6
@@ -174,10 +175,6 @@ jobs:
174175
pixi run meson install -C builddir
175176
pixi run meson test --verbose --no-rebuild -C builddir
176177
177-
- name: Update FloPy packages
178-
working-directory: modflow6
179-
run: python -m flopy.mf6.utils.generate_classes --dfnpath doc/mf6io/mf6ivar/dfn
180-
181178
- name: Run tests
182179
working-directory: flopy/autotest
183180
run: |

flopy/mf6/mfpackage.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3676,8 +3676,7 @@ def _update_data(nc_info, key, dobj=None, data=None):
36763676
if mesh == None:
36773677
if dobj.repeating:
36783678
if iaux >= 0:
3679-
auxkeys = list(data)
3680-
for k in auxkeys:
3679+
for k in data:
36813680
if data[k] is None:
36823681
continue
36833682
istp = sum(modeltime.nstp[0:k])
@@ -3706,8 +3705,7 @@ def _update_data(nc_info, key, dobj=None, data=None):
37063705
layer = -1
37073706
if dobj.repeating:
37083707
if iaux >= 0:
3709-
auxkeys = list(data)
3710-
for k in auxkeys:
3708+
for k in data:
37113709
if data[k] is None:
37123710
continue
37133711
auxdata = data[k][iaux]

0 commit comments

Comments
 (0)