Integrate Variables Filter Throws error when working with vtkpolydata
Tested on Linux 5.12.0 and MaCOS x86 Builtin on both. I have attached a script that will reproduce the error. But for simplicity's sake, here are the steps:
- Open g1s1 dataset, Apply
- Use the Slice filter, Apply
- Use the Integrate Variables filter, Apply
Here is the error it produces:
( 2.540s) [pvbatch ]vtkIntegrateAttributes.:435 WARN| vtkIntegrateAttributes (0x5afaa50): This filter cannot handle sub-datasets of type : vtkPolyData. Skipping block
( 2.540s) [pvbatch ]vtkIntegrateAttributes.:435 WARN| vtkIntegrateAttributes (0x5afaa50): This filter cannot handle sub-datasets of type : vtkPolyData. Skipping block
( 2.540s) [pvbatch ]vtkIntegrateAttributes.:435 WARN| vtkIntegrateAttributes (0x5afaa50): This filter cannot handle sub-datasets of type : vtkPolyData. Skipping block
( 2.540s) [pvbatch ]vtkIntegrateAttributes.:435 WARN| vtkIntegrateAttributes (0x5afaa50): This filter cannot handle sub-datasets of type : vtkPolyData. Skipping block
( 2.540s) [pvbatch ]vtkIntegrateAttributes.:435 WARN| vtkIntegrateAttributes (0x5afaa50): This filter cannot handle sub-datasets of type : vtkPolyData. Skipping block
( 2.540s) [pvbatch ]vtkIntegrateAttributes.:435 WARN| vtkIntegrateAttributes (0x5afaa50): This filter cannot handle sub-datasets of type : vtkPolyData. Skipping block
( 2.541s) [pvbatch ]vtkIntegrateAttributes.:435 WARN| vtkIntegrateAttributes (0x5afaa50): This filter cannot handle sub-datasets of type : vtkPolyData. Skipping block
( 2.541s) [pvbatch ]vtkIntegrateAttributes.:435 WARN| vtkIntegrateAttributes (0x5afaa50): This filter cannot handle sub-datasets of type : vtkPolyData. Skipping block
( 2.541s) [pvbatch ]vtkIntegrateAttributes.:435 WARN| vtkIntegrateAttributes (0x5afaa50): This filter cannot handle sub-datasets of type : vtkPolyData. Skipping block
If I insert the Merge Blocks filter between the Slice filter and the Integrate Variables filter it works fine on g1s1.
My customer is saying that when run with the GUI, the insertion of the Merge Blocks filter works great when run in the GUI every time with all his datasets. However, when run in pvbatch, he gets different results between the GUI and the pvbatch runs. I am investigating this issue further and will write up a separate issue on this if necessary. Just FYI, I produced a trace using g1s1 and the data matched when I used this trace between the GUI version and running it via pvbatch.
[Integrate_Variables_filter_Porblem.py](/uploads/a10a1b4dda3c6cc946a44c362812276a/Integrate_Variables_filter_Porblem.py)