Find Data breaks with multiple expressions on multiblock data
The Find Data
dialog fails to query data when using multiple expressions on a multiblock dataset. To replicate, do the following:
- Load
disk_out_ref.ex2
. Load all variables.Apply
. - Open the
Find Data
dialog box. - Select find
Point(s)
fromdisk_out_ref.ex2
. - In the first query line, select
Temp
is >=
300
. - Click
+
to create a new expression. - In the new second query line, select
Temp
is <=
400
. - Click
Run Selection Query
The query fails. In Output Messages
you get the following errors:
Warning: In C:\bbd\ecd3383f\build\superbuild\paraview\src\VTKExtensions\ExtractionPython\vtkPythonSelector.cxx, line 76
vtkPythonSelector (00000173CA73A700): Could not invoke 'python_selector.execute()'
Traceback (most recent call last):
File "C:\Program Files (x86)\ParaView 5.8.0\bin\Lib\site-packages\paraview\detail\python_selector.py", line 109, in execute
insidedness = numpy_support.numpy_to_vtk(maskArray, deep=1, array_type=vtkConstants.VTK_SIGNED_CHAR)
File "C:\Program Files (x86)\ParaView 5.8.0\bin\Lib\site-packages\vtkmodules\util\numpy_support.py", line 170, in numpy_to_vtk
z_flat = numpy.ravel(z).astype(arr_dtype)
ValueError: setting an array element with a sequence.