diff --git a/flopy4/mf6/codec/__init__.py b/flopy4/mf6/codec/__init__.py index 5d4024c6..b274da8a 100644 --- a/flopy4/mf6/codec/__init__.py +++ b/flopy4/mf6/codec/__init__.py @@ -1,4 +1,5 @@ -from flopy4.mf6.codec.writer import dump, dumps, load, loads +from flopy4.mf6.codec.reader import load, loads +from flopy4.mf6.codec.writer import dump, dumps __all__ = [ "loads", diff --git a/flopy4/mf6/codec/reader/__init__.py b/flopy4/mf6/codec/reader/__init__.py index e69de29b..feaa58ce 100644 --- a/flopy4/mf6/codec/reader/__init__.py +++ b/flopy4/mf6/codec/reader/__init__.py @@ -0,0 +1,12 @@ +from os import PathLike +from typing import Any + + +def load(path: str | PathLike) -> Any: + # TODO + pass + + +def loads(data: str) -> Any: + # TODO + pass diff --git a/flopy4/mf6/codec/writer/__init__.py b/flopy4/mf6/codec/writer/__init__.py index 960e4153..a6947f2c 100644 --- a/flopy4/mf6/codec/writer/__init__.py +++ b/flopy4/mf6/codec/writer/__init__.py @@ -1,6 +1,5 @@ import sys from os import PathLike -from typing import Any import numpy as np from jinja2 import Environment, PackageLoader @@ -29,16 +28,6 @@ } -def loads(data: str) -> Any: - # TODO - pass - - -def load(path: str | PathLike) -> Any: - # TODO - pass - - def dumps(data) -> str: template = _JINJA_ENV.get_template(_JINJA_TEMPLATE_NAME) with np.printoptions(**_PRINT_OPTIONS): # type: ignore