Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
- name: Add executables directory to path
shell: bash
run: |
echo "::add-path::$HOME/.local/bin"
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Run nosetests
shell: bash -l {0}
Expand Down
19 changes: 13 additions & 6 deletions autotest/t503_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,30 @@ def download_mf6_examples():

mf6path = download_mf6_examples()
distpth = os.path.join(mf6path)
# folders = sorted([f for f in os.listdir(distpth)
# if os.path.isdir(os.path.join(distpth, f))])

exclude_models = ("gwt",)
exclude_examples = ("sagehen", "keating",)
exclude_models = (
"lnf",
)
exclude_examples = (
"sagehen",
"ex-gwt-keating",
# "ex-gwt-moc3d-p02",
# "ex-gwt-mt3dms-p01",
# "ex-gwt-mt3dsupp632",
# "ex-gwt-prudic2004t2",
)
src_folders = []

for dirName, subdirList, fileList in os.walk(mf6path):
dirBase = os.path.basename(os.path.normpath(dirName))
useModel = True
for exclude in exclude_models:
if exclude in dirBase:
if exclude in dirName:
useModel = False
break
if useModel:
for exclude in exclude_examples:
if exclude in dirBase:
if exclude in dirName:
useModel = False
break
if useModel:
Expand Down
1 change: 1 addition & 0 deletions flopy/mf6/mfpackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,7 @@ def write(self, fd, ext_file_action=ExtFileAction.copy_relative_paths):
is_empty
and self.structure.name.lower() != "exchanges"
and self.structure.name.lower() != "options"
and self.structure.name.lower() != "sources"
):
return
if self.structure.repeating():
Expand Down