simvue-io / python-api

Simvue Python API
https://docs.simvue.io
Apache License 2.0
4 stars 0 forks source link

Alert 'trigger callback' option #490

Open wk9874 opened 4 weeks ago

wk9874 commented 4 weeks ago

I think it would be very useful to have a trigger_callback option as well as a trigger_abort option when defining an alert. The main reason for this is that the abort kills the entire script, not just the processes. This means that if my script is looping through simulations with different parameters, the abort will stop the entire set of simulations instead of just moving onto the next simulation to try.

wk9874 commented 3 weeks ago

Basically the same as #420 I think?