Skip to content

feat(pyvista,vtkhdf backends): added vtk_cell_types as separate file - #77

Open
mattfil wants to merge 1 commit into
scientificcomputing:mainfrom
mattfil:main
Open

feat(pyvista,vtkhdf backends): added vtk_cell_types as separate file#77
mattfil wants to merge 1 commit into
scientificcomputing:mainfrom
mattfil:main

Conversation

@mattfil

@mattfil mattfil commented Sep 7, 2026

Copy link
Copy Markdown

In vtkhdf backend, the pyvista.backend was imported for the functions _arbitrary_lagrange_vtk, _cell_degree, _first_order_vtk. This was making pyvista a mandatory dependency for the vtkdhf backend, since in pyvista backend there is try/except import pyvista.
This PR solve this declaring the 3 functions in a separate file that does not import pyvista.

…so vtkhdf can avoid importing pyvista. Dropped pyvista in NotImplementedErrors.
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