[go: up one dir, main page]

Postfail phase

Description

This MR adds a postfail phase if an error occurs during the run fail. Currently if an exception is raised during the run phase, the experiment is terminated. This can lead to undefined states of hardware (for example coils stay at a high current value) which could lead to potential damage. This feature catches all exceptions and runs a postfail phase (seperated in kernel and host part) which can be for example used to safely reset hardware. The exception is re-raised afterwards so user code can also catch it again if wanted.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
Edited by Christian Hölzl

Merge request reports

Loading