diff --git a/hydrolib/core/dflowfm/research/models.py b/hydrolib/core/dflowfm/research/models.py index 43bc654d3..8d344bf40 100644 --- a/hydrolib/core/dflowfm/research/models.py +++ b/hydrolib/core/dflowfm/research/models.py @@ -917,7 +917,7 @@ class ResearchFMModel(FMModel): physics: ResearchPhysics = Field(default_factory=ResearchPhysics) sediment: ResearchSediment = Field(default_factory=ResearchSediment) wind: ResearchWind = Field(default_factory=ResearchWind) - waves: Optional[ResearchWaves] = Field(default_factory=ResearchWaves) + waves: Optional[ResearchWaves] = Field(None) time: ResearchTime = Field(default_factory=ResearchTime) restart: ResearchRestart = Field(default_factory=ResearchRestart) trachytopes: ResearchTrachytopes = Field(default_factory=ResearchTrachytopes) diff --git a/tests/dflowfm/test_research.py b/tests/dflowfm/test_research.py index 0a2f8c9b0..10c626f89 100644 --- a/tests/dflowfm/test_research.py +++ b/tests/dflowfm/test_research.py @@ -13,7 +13,6 @@ ResearchSedtrails, ResearchTime, ResearchTrachytopes, - ResearchWaves, ResearchWind, ) from tests.utils import test_input_dir @@ -29,7 +28,6 @@ def test_create_research_fmmodel(self): assert isinstance(model.physics, ResearchPhysics) assert isinstance(model.sediment, ResearchSediment) assert isinstance(model.wind, ResearchWind) - assert isinstance(model.waves, ResearchWaves) assert isinstance(model.time, ResearchTime) assert isinstance(model.trachytopes, ResearchTrachytopes) assert isinstance(model.output, ResearchOutput)