Skip to content

Commit

Permalink
fixes for comments Bas
Browse files Browse the repository at this point in the history
  • Loading branch information
OnnoEbbens committed Apr 19, 2024
1 parent 367c1a9 commit 69ccac7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
python -c "import nlmod; nlmod.util.download_mfbinaries()"
- name: Run tests only
if: ${{ github.event_name == 'pull_request' || github.event_name == 'push'}}
env:
NHI_GWO_USERNAME: ${{ secrets.NHI_GWO_USERNAME}}
NHI_GWO_PASSWORD: ${{ secrets.NHI_GWO_PASSWORD}}
Expand Down
5 changes: 3 additions & 2 deletions nlmod/dims/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,10 @@ def modelgrid_from_ds(ds, rotated=True, nlay=None, top=None, botm=None, **kwargs
def modelgrid_to_vertex_ds(mg, ds, nodata=-1):
"""Add information about the calculation-grid to a model dataset."""

logger.warning(
warnings.warn(
"'modelgrid_to_vertex_ds' is deprecated and will be removed in a"
"future version, please use 'modelgrid_to_ds' instead"
"future version, please use 'modelgrid_to_ds' instead",
DeprecationWarning,
)

# add modelgrid to ds
Expand Down

0 comments on commit 69ccac7

Please sign in to comment.