From b93594356a6fd656a4406813ff56f66a4a0f1165 Mon Sep 17 00:00:00 2001 From: cuill Date: Mon, 6 Nov 2023 17:33:51 -0500 Subject: [PATCH 1/2] fixed a bug in calculating nbfr, thanks to Yicheng --- pyschism/forcing/bctides/bctides.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyschism/forcing/bctides/bctides.py b/pyschism/forcing/bctides/bctides.py index 97fa403e..2dce7bbf 100644 --- a/pyschism/forcing/bctides/bctides.py +++ b/pyschism/forcing/bctides/bctides.py @@ -274,5 +274,5 @@ def ntip(self): @property def nbfr(self): - return len(self.tides.get_active_potential_constituents()) + return len(self.tides.get_active_forcing_constituents()) From 49c519a2a7ad6a9b4baaacec79008eddb0b691e1 Mon Sep 17 00:00:00 2001 From: cuill Date: Mon, 6 Nov 2023 17:37:46 -0500 Subject: [PATCH 2/2] update python version in release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index acc5cada..9952a6c1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - python-version: [ '3.7', '3.8', '3.9', '3.x' ] + python-version: [ '3.8', '3.9', '3.x' ] steps: - name: checkout repository uses: actions/checkout@v2