Deprecated code suggestions#

:header-rows: 1#

Target

Deprecation

Removal

Alternatives

get_system_state() method

v0.12.0

June 2024

See New System Status

SystemState namedtuple

v0.12.0

June 2024

See New System Status

SystemStatusOld enum

v0.12.0

June 2024

See New System Status

get_sequencer_state() method

v0.12.0

June 2024

See New Sequencer Status

get_acquisition_state() method

v0.12.0

June 2024

See New Sequencer Status

SequencerState namedtuple

v0.12.0

June 2024

See New Sequencer Status

SequencerStatusOld enum

v0.12.0

June 2024

See New Sequencer Status

Note

Deprecated features will be removed in the first release after this specified date. Until then, support for these features is guaranteed.

New System Status#

In v0.12.0, SystemStatus has changed from an enum to a namedtuple composed of SystemStatuses, SystemStatusFlags and SystemStatusSlotFlags enums. The old SystemStatus enum was kept as SystemStatusOld enum for backwards compatibility till removal, but can be replaced with SystemStatuses enum. The SystemState namedtuple should be replaced by new SystemStatus namedtuple. The method get_system_state() should be replaced by get_system_status().

New Sequencer Status#

In v0.12.0, SequencerStatus changed from an enum to a namedtuple composed of SequencerStatuses, SequencerStates and log, info, warning, error lists of SequencerStatusFlags enums. The old SequencerStatus enum was kept as SequencerStatusOld enum for backwards compatibility till removal, but can be replaced with SequencerStates enum. The SequencerState namedtuple should be replaced by the new SequencerStatus namedtuple. The method get_sequencer_state() should be replaced with get_sequencer_status(), and get_acquisition_state() with get_acquisition_status().