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
3 changes: 2 additions & 1 deletion flopy4/mf6/codec/__init__.py
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
12 changes: 12 additions & 0 deletions flopy4/mf6/codec/reader/__init__.py
Original file line number Diff line number Diff line change
@@ -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
11 changes: 0 additions & 11 deletions flopy4/mf6/codec/writer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import sys
from os import PathLike
from typing import Any

import numpy as np
from jinja2 import Environment, PackageLoader
Expand Down Expand Up @@ -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
Expand Down
Loading