GollyGang / ready

A cross-platform implementation of various reaction-diffusion systems and PDEs.
GNU General Public License v3.0
775 stars 60 forks source link

Checking existence of file before attempting to load #147

Closed timhutton closed 3 years ago

timhutton commented 3 years ago

This closes #146. The exception was already being caught but the message wasn't very helpful, and VTK was displaying its internal error message.

This PR checks the input file's existence first, and prints a more helpful message. And it disables VTK's display of error messages in rdy (we do this in Ready already).