pydstool
pydstool copied to clipboard
[PyCont] MX point breaks plotting in some circumstances
Throws an exception when trying to plot with stability=True
This bug happens only when the Corrector call sends an exception in the Python code.
Maybe it would also be useful to notify the error to the user. Currently the exception is caught, the continuation stops and the "MX" point is set. But the user not get any error and trying to call the forward function again does not display any error neither. I think just printing the caught exception should be sufficient.
Yeah, I need to go through the code and look for places where the user could be getting more information on why things are having trouble - in particular, catching exceptions, printing a warning and creating an MX point. This combined with the ability to update continuation parameters and restart just prior to an MX point would be extremely helpful I think.
Drew