Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
fmalatino committed Sep 6, 2024
1 parent 71bcb56 commit 3649691
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ndsl/grid/generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def __init__(
self._dy_center = None
self._area = None
self._area_c = None
if eta_file is not "":
if eta_file != "":
(
self._ks,
self._ptop,
Expand Down
12 changes: 6 additions & 6 deletions tests/grid/test_eta.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_set_hybrid_pressure_coefficients_nofile():

"""
This test checks to see that the program
fails when the eta_file is not specified
fails when the eta_file is not specified
in the yaml configuration file.
"""

Expand Down Expand Up @@ -166,11 +166,11 @@ def test_set_hybrid_pressure_coefficients_not_mono():

"""
This test checks to see that the program
fails when the computed eta values increase
non-monotonically. For the latter test, the
eta_file is specified in test_config_not_mono.yaml
file and the ak and bk values in the eta_file
have been changed nonsensically to result in
fails when the computed eta values increase
non-monotonically. For the latter test, the
eta_file is specified in test_config_not_mono.yaml
file and the ak and bk values in the eta_file
have been changed nonsensically to result in
erronenous eta values.
"""

Expand Down

0 comments on commit 3649691

Please sign in to comment.