case.electric.include is stored as ints rather than bools. This is currently necessary for mapping points points in the openep-gui to be coloured by the value of case.electric.include. In Pyvista, the clim is ignored if the type of the scalars is bool and there is only a single value (e.g. all points are not deleted, or all points are deleted.) There is no issue if the scalars are ints
To ensure correct fancy indexing, case.electric.include is now cast to bool before e.g. selecting egms to include in interpolation
Changes made:
case.electric.include
is stored asint
s rather thanbool
s. This is currently necessary for mapping points points in the openep-gui to be coloured by the value ofcase.electric.include
. In Pyvista, the clim is ignored if the type of the scalars isbool
and there is only a single value (e.g. all points are not deleted, or all points are deleted.) There is no issue if the scalars areint
scase.electric.include
is now cast tobool
before e.g. selecting egms to include in interpolation