run_python_file/code action - "stop_on_error" attribute?
Hi Chris,
Do you think it would be useful to have a "stop_on_error" attribute for the run_python_file/run_python_string actions?
I'd probably want to keep this turned on so the experiment would stop on exceptions in python.
Thanks,
Mark
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Christopher Sta... on 16 Aug, 2017 06:06 PM
Hi Mark,
Yes, that seems useful. I'll add it.
Chris
2 Posted by mhisted on 16 Aug, 2017 06:32 PM
Great - if you're prioritizing stuff from us, this is probably the highest priority item since we don't have a good workaround.
Mark
Support Staff 3 Posted by Christopher Sta... on 21 Aug, 2017 06:45 PM
Hi Mark,
This is done and will be in tonight's nightly build. The attribute is called "stop_on_failure".
Chris
4 Posted by mhisted on 21 Aug, 2017 06:56 PM
Great - thanks. Will test.
I can't think of a case where I'd want stop_on_failure to be NO, so I'd argue for default YES. But perhaps others use it differently.
Mark
Support Staff 5 Posted by Christopher Sta... on 21 Aug, 2017 06:59 PM
The default is NO to maintain compatibility with existing experiments.
Chris
Christopher Stawarz closed this discussion on 06 Sep, 2017 02:39 PM.