You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revise or update tests that call environmental_contour.
Deprecate:
Remove tests that call environmental_contour.
Additional Information
The specified tests call wave/resource/environmental_contour. The current version MHKiT-Python tests environmental contours here. In MHKIT-Python v0.6.0 this test was split from test_resource_metrics.py. To keep parity with MKHIT-Python, it may make sense to split these tests into a new file called Wave_TestContours and utilize a similar testing methodology as MHKiT-Python.
The root of this issue looks to be a the addition of the method argument to the environmental_contours function in MHKiT-Python, and changes to the structure of the returned dictionary.
The plot_environmental_contour_multi_year test in MATLAB should be removed as the python version of environmental_contours does not support the input of a list/vector as the return_period.
Description
test_environmental_contour
,test_plot_environmental
, andtest_plot_environmental_contour_multiyear
tests are failing. This issue initiates discussions on whether to refactor or deprecate these tests.Context
test_environmental_contour
,test_plot_environmental
,test_plot_environmental_contour_multiyear
Options:
environmental_contour
.environmental_contour
.Additional Information
The specified tests call
wave/resource/environmental_contour
. The current version MHKiT-Python tests environmental contours here. In MHKIT-Python v0.6.0 this test was split fromtest_resource_metrics.py
. To keep parity with MKHIT-Python, it may make sense to split these tests into a new file calledWave_TestContours
and utilize a similar testing methodology as MHKiT-Python.The root of this issue looks to be a the addition of the
method
argument to theenvironmental_contours
function in MHKiT-Python, and changes to the structure of the returned dictionary.The fix will require adding a new argument to
environmental_contour
and updating the code that converts the output of this function into a type that is useable in MATLAB.The text was updated successfully, but these errors were encountered: