From c65ee62eac35c7a8ab558f7fdfb919df6fb961cb Mon Sep 17 00:00:00 2001 From: manishvenu Date: Fri, 17 Jan 2025 16:46:59 -0700 Subject: [PATCH] Change tidal constituent param default to None --- regional_mom6/regional_mom6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regional_mom6/regional_mom6.py b/regional_mom6/regional_mom6.py index ddc36aef..071da8ed 100644 --- a/regional_mom6/regional_mom6.py +++ b/regional_mom6/regional_mom6.py @@ -1714,7 +1714,7 @@ def setup_boundary_tides( raise ValueError( "Only rectangular or curvilinear boundaries are supported by this method." ) - if tidal_constituents is None: + if tidal_constituents is not None: self.tidal_constituents = tidal_constituents tpxo_h = ( xr.open_dataset(Path(tpxo_elevation_filepath))