Re: [Paraview] Error handling in a programmable filter.

2017-07-07 Thread Jonathan Borduas
aview] Error handling in a programmable filter. We would like to block the updating of the pipeline upon an error in the programmable filter (just like a C++ filter). Raising an exception in the Python script should a interupt your script, however from the code I see that that wouln't exactly do wh

Re: [Paraview] Error handling in a programmable filter.

2017-07-07 Thread Utkarsh Ayachit
> > We would like to block the updating of the pipeline upon an error in the > programmable filter (just like a C++ filter). > > > Raising an exception in the Python script should a interupt your script, however from the code I see that that wouln't exactly do what `return 0` in RequestData for

[Paraview] Error handling in a programmable filter.

2017-07-07 Thread Jonathan Borduas
Hi Everybody, Is there a equivalent of "Return 1" in the python programmable filter ? We would like to block the updating of the pipeline upon an error in the programmable filter (just like a C++ filter). Jonathan Borduas ___ Powered by