run_python_file/code action - "stop_on_error" attribute?

mhisted's Avatar

mhisted

14 Aug, 2017 01:36 PM

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

  1. Support Staff 1 Posted by Christopher Sta... on 16 Aug, 2017 06:06 PM

    Christopher Stawarz's Avatar

    Hi Mark,

    Yes, that seems useful. I'll add it.

    Chris

  2. 2 Posted by mhisted on 16 Aug, 2017 06:32 PM

    mhisted's Avatar

    Great - if you're prioritizing stuff from us, this is probably the highest priority item since we don't have a good workaround.

    Mark

  3. Support Staff 3 Posted by Christopher Sta... on 21 Aug, 2017 06:45 PM

    Christopher Stawarz's Avatar

    Hi Mark,

    This is done and will be in tonight's nightly build. The attribute is called "stop_on_failure".

    Chris

  4. 4 Posted by mhisted on 21 Aug, 2017 06:56 PM

    mhisted's Avatar

    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

  5. Support Staff 5 Posted by Christopher Sta... on 21 Aug, 2017 06:59 PM

    Christopher Stawarz's Avatar

    I can't think of a case where I'd want stop_on_failure to be NO, so I'd argue for default YES.

    The default is NO to maintain compatibility with existing experiments.

    Chris

  6. Christopher Stawarz closed this discussion on 06 Sep, 2017 02:39 PM.

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

Recent Discussions

17 May, 2022 02:12 PM
16 May, 2022 03:12 PM
04 May, 2022 06:02 PM
03 May, 2022 01:30 PM
02 May, 2022 10:47 PM