Skip to content

Commit

Permalink
* update mf6examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhughes-usgs committed May 29, 2024
1 parent f727731 commit 63fe5a9
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions autotest/ci_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import shutil

import pymake
from modflow_devtools.misc import get_model_paths

temp_pth = pl.Path("temp")
if not temp_pth.exists():
Expand Down Expand Up @@ -54,27 +55,8 @@ def examples_list(verbose=False):
"sagehen",
"ex-gwt-keating",
)
src_folders = []

for dirName, subdirList, fileList in os.walk(mf6_exdir):
useModel = True
for exclude in exclude_models:
if exclude in dirName:
useModel = False
break
if useModel:
for exclude in exclude_examples:
if exclude in dirName:
useModel = False
break
if useModel:
for file_name in fileList:
if file_name.lower() == "mfsim.nam":
if verbose:
print(f"Found directory: {dirName}")
src_folders.append(dirName)
src_folders = sorted(src_folders)

src_folders = get_model_paths(mf6_exdir)
fpth = os.path.join(mf6_exdir, "mf6examples.txt")
f = open(fpth, "w")
for idx, folder in enumerate(src_folders):
Expand Down

0 comments on commit 63fe5a9

Please sign in to comment.