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

contacts_get raises MeshKernelError in meshkernel 4.0.1 #142

Closed
veenstrajelmer opened this issue Jan 29, 2024 · 1 comment
Closed

contacts_get raises MeshKernelError in meshkernel 4.0.1 #142

veenstrajelmer opened this issue Jan 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@veenstrajelmer
Copy link
Collaborator

veenstrajelmer commented Jan 29, 2024

Describe the bug
contacts_get in meshkernel 4.0.1 raises "MeshKernelError: MeshKernelError: Exception of type 'MeshKernelError': The The contacts have not been computed.". The previous meshkernel 3.0.0 returned an emtpy "<meshkernel.py_structures.Contacts at 0x1c448670110>" instead.

To Reproduce

from meshkernel import MeshKernel
mk = MeshKernel()
mk.mesh2d_get() # returns `<meshkernel.py_structures.Mesh2d at 0x27261d77110>`
mk.contacts_get() # raises error instead of `<meshkernel.py_structures.Contacts at 0x1c448670110>`

Expected behavior
Returning contacts, empty or not.

Version info (please complete the following information):

  • OS: Windows 10
  • Version 0.4.1
@veenstrajelmer
Copy link
Collaborator Author

Fixed in meshkernel 4.0.2

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

No branches or pull requests

1 participant