Skip to content

Commit d71f591

Browse files
mjrenomjreno
authored andcommitted
restore workflow
1 parent e564fd6 commit d71f591

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
@@ -3678,8 +3678,7 @@ def _update_data(nc_info, key, dobj=None, data=None):
36783678
if mesh == None:
36793679
if dobj.repeating:
36803680
if iaux >= 0:
3681-
auxkeys = list(data)
3682-
for k in auxkeys:
3681+
for k in data:
36833682
if data[k] is None:
36843683
continue
36853684
istp = sum(modeltime.nstp[0:k])
@@ -3708,8 +3707,7 @@ def _update_data(nc_info, key, dobj=None, data=None):
37083707
layer = -1
37093708
if dobj.repeating:
37103709
if iaux >= 0:
3711-
auxkeys = list(data)
3712-
for k in auxkeys:
3710+
for k in data:
37133711
if data[k] is None:
37143712
continue
37153713
auxdata = data[k][iaux]

0 commit comments

Comments
 (0)