Catalyst script format error: data writer does not take care of periods
Found on MacOS 10.13.6, ParaView build from source with mpi and python 2 enabled, commit 25233e17
Reproduce:
- Create a wavelet: Sources -> DataObjects -> Wavelet -> Apply
- Rename "Wavelet1" to "Wavelet1.data" in the properties tab:
- View -> Catalyst Export Inspector
- Enable XMLPImageDataWriter with default options:
- Catalyst -> Export Catalyst Script -> run the script
This causes an error in the catalyst script when running:
File "test_cdb_geom.py", line 59, in Pipeline
coprocessor.RegisterWriter(xMLPImageDataWriter1, filename='Wavelet.data_%t.pvti', freq=1, paddingamount=0)
NameError: name 'Wavelet' is not defined
The line causing the problem is:
xMLPImageDataWriter1 = servermanager.writers.XMLPImageDataWriter(Input=wavelet1.data)
and it needs to be:
xMLPImageDataWriter1 = servermanager.writers.XMLPImageDataWriter(Input=wavelet1data)