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 .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
- name: Install dependencies
run: |
pip install -U pip # upgrade pip
pip install '.[develop]' './lstm_ewts'
pip install git+https://github.com/ngwpc/nwm-ewts.git#subdirectory=runtime/python/ewts
pip install '.[develop]'
- name: Echo dependency versions
run: |
pip freeze
Expand Down
13 changes: 7 additions & 6 deletions lstm/bmi_lstm.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
import typing
from dataclasses import dataclass
from pathlib import Path
import logging

import numpy as np
import numpy.typing as npt
Expand All @@ -67,11 +68,11 @@

from . import nextgen_cuda_lstm
from .base import BmiBase
from lstm_ewts import configure_logging, MODULE_NAME
from .model_state import State, StateFacade, Var

import logging
LOG = logging.getLogger(MODULE_NAME)
import ewts
LOG = ewts.get_logger(ewts.LSTM_ID)


# -------------- Dynamic Attributes -----------------------------
_dynamic_input_vars = [
Expand Down Expand Up @@ -440,9 +441,9 @@ def __init__(self) -> None:

def initialize(self, config_file: str) -> None:

# configure the Error Warning and Trapping System logger
configure_logging()

# This is required prior to the first log message is issued by t-route.
LOG.bind()
LOG.info(f"Initializing with {config_file}")

# read and setup main configuration file
Expand Down
13 changes: 0 additions & 13 deletions lstm_ewts/pyproject.toml

This file was deleted.

34 changes: 0 additions & 34 deletions lstm_ewts/src/lstm_ewts/__init__.py

This file was deleted.

127 changes: 0 additions & 127 deletions lstm_ewts/src/lstm_ewts/config.py

This file was deleted.

40 changes: 0 additions & 40 deletions lstm_ewts/src/lstm_ewts/constants.py

This file was deleted.

60 changes: 0 additions & 60 deletions lstm_ewts/src/lstm_ewts/formatter.py

This file was deleted.

32 changes: 0 additions & 32 deletions lstm_ewts/src/lstm_ewts/helper.py

This file was deleted.

Loading
Loading