driver_version_check#

Helper functions to perform the version check for qblox_instruments.

Module Contents#

Functions#

verify_qblox_instruments_version([version])

Verifies whether the installed version is supported by the qblox_backend.

Attributes#

logger

driver_version

SUPPORTED_DRIVER_VERSIONS

Tuple containing all the version supported by this version of the backend.

raise_on_version_mismatch

Can be set to false to override version check.

logger[source]#
driver_version[source]#
SUPPORTED_DRIVER_VERSIONS: Tuple[str, Ellipsis] = ('0.12', '0.13')[source]#

Tuple containing all the version supported by this version of the backend.

raise_on_version_mismatch: bool = True[source]#

Can be set to false to override version check.

exception DriverVersionError[source]#

Bases: Exception

Raise when the installed driver version is not supported.

verify_qblox_instruments_version(version: str = driver_version)[source]#

Verifies whether the installed version is supported by the qblox_backend.

Parameters:

version – The Qblox driver versions (qblox-instruments python package).

Raises:

DriverVersionError – When an incorrect or no installation of qblox-instruments was found.