from targets import get_mf6_version
from common_regression import (
    get_home_dir,
    get_example_basedir,
    is_directory_available,
    get_example_dirs,
    get_select_dirs,
    get_select_packages,
    set_mf6_regression,
)

# find path to examples directory
home = get_home_dir()

find_dir = "modflow6-testmodels"
example_basedir = get_example_basedir(home, find_dir, subdir="mf5to6")

if example_basedir is not None:
    assert os.path.isdir(example_basedir)

sfmt = "{:25s} - {}"


def get_mf5to6_models():
    """
    Get a list of test models
    """
    # list of example files to exclude
    exclude = (None, )

    # write a summary of the files to exclude
Exemplo n.º 2
0
from targets import get_mf6_version
from common_regression import (
    get_home_dir,
    get_example_basedir,
    is_directory_available,
    get_example_dirs,
    get_select_dirs,
    get_select_packages,
)

# find path to modflow6-examples directory
home = get_home_dir()

# get example_basedir
find_dir = "modflow6-examples"
example_basedir = get_example_basedir(home, find_dir, subdir="examples")


def get_mf6_models():
    """
    Get a list of test models
    """
    # determine if running on travis
    is_CI = "CI" in os.environ

    # tuple of example files to exclude
    exclude = ("ex-gwf-csub-p02c", )

    # update exclude
    if is_CI:
        exclude_CI = (None, )
Exemplo n.º 3
0
from simulation import Simulation
from targets import get_mf6_version
from common_regression import (
    get_home_dir,
    get_example_basedir,
    is_directory_available,
    get_example_dirs,
    get_select_dirs,
    get_select_packages,
    set_mf6_regression,
)

home = get_home_dir()

find_dir = "modflow6-largetestmodels"
example_basedir = get_example_basedir(home, find_dir)


def get_mf6_models():
    """
    Get a list of test models
    """
    # determine if running on CI
    is_CI = "CI" in os.environ

    # tuple of example files to exclude
    exclude = (None, )

    # update exclude
    if is_CI:
        exclude_CI = (None, )