Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environmental Contours Example Fails to Plot Environmental Contour #123

Open
simmsa opened this issue Feb 2, 2024 · 1 comment · May be fixed by #147
Open

Environmental Contours Example Fails to Plot Environmental Contour #123

simmsa opened this issue Feb 2, 2024 · 1 comment · May be fixed by #147
Labels
bug Something isn't working

Comments

@simmsa
Copy link
Contributor

simmsa commented Feb 2, 2024

Description:

Attempting to run examples/environmental_contours_example.mlx results in the following error on line 35.

Unable to resolve the name 'py.mhkit.wave.resource.environmental_contour'.

Error in [environmental_contour](matlab:matlab.internal.language.introspective.errorDocCallback('environmental_contour', 'mhkit/wave/resource/environmental_contour.m', 91)) ([line 91](matlab: opentoline('mhkit/wave/resource/environmental_contour.m',91,0)))
data = py.mhkit.wave.resource.environmental_contour(py.numpy.array(x1),py.numpy.array(x2),...ttt

It appears that the call signature in MHKiT-Python for wave.contours.environmental_contours has changed significantly.

This code section handles the python call and contains the source of this bug.

@simmsa simmsa added the bug Something isn't working label Feb 2, 2024
@simmsa
Copy link
Contributor Author

simmsa commented Dec 2, 2024

Could be related to #109

@hivanov-nrel hivanov-nrel linked a pull request Dec 18, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant