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

Fix prism_layer test when accessing PyVista cells #409

Merged
merged 1 commit into from
May 11, 2023
Merged

Conversation

santisoler
Copy link
Member

Since the latest PyVista update, the UnstructuredGrid.cell attribute is a generator, and therefore it cannot be indexed. This broke our tests, that were indexing cells in the UnstructuredGrid for prism layers to compare them with the boundaries of each prism in the layer.

Since the latest PyVista update, the `UnstructuredGrid.cell` attribute
is a generator, and therefore it cannot be indexed. This broke our
tests, that were indexing cells in the `UnstructuredGrid` for prism
layers to compare them with the boundaries of each prism in the layer.
@santisoler santisoler merged commit abb0ce0 into main May 11, 2023
@santisoler santisoler deleted the fix-pyvista-test branch May 11, 2023 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant