Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/qcodes/instrument_drivers/AimTTi/AimTTi_PL601P_channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,15 @@
Deprecated Module for backwards compatibility
"""

import warnings

from qcodes.utils import QCoDeSDeprecationWarning

from ._AimTTi_PL_P import AimTTi, AimTTiChannel, NotKnownModel

warnings.warn(
"The `qcodes._drivers.AimTTi.AimTTi_PL601P_channels` module is deprecated. "
"Please import drivers from from `qcodes.instrument_drivers.AimTTi` instead.",
category=QCoDeSDeprecationWarning,
stacklevel=2,
)
11 changes: 11 additions & 0 deletions src/qcodes/instrument_drivers/HP/HP8133A.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,15 @@
Module left for backwards compatibility. Will be deprecated and removed eventually.
"""

import warnings

from qcodes.utils import QCoDeSDeprecationWarning

from .HP_8133A import HP8133A

warnings.warn(
"The `qcodes._drivers.HP.HP8133A` module is deprecated. "
"Please import drivers from from `qcodes.instrument_drivers.HP` instead.",
category=QCoDeSDeprecationWarning,
stacklevel=2,
)
11 changes: 11 additions & 0 deletions src/qcodes/instrument_drivers/HP/HP8753D.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,15 @@
Module left for backwards compatibility. Will be deprecated and removed eventually.
"""

import warnings

from qcodes.utils import QCoDeSDeprecationWarning

from .HP_8753D import HP8753D

warnings.warn(
"The `qcodes._drivers.HP.HP8753D` module is deprecated. "
"Please import drivers from from `qcodes.instrument_drivers.HP` instead.",
category=QCoDeSDeprecationWarning,
stacklevel=2,
)
11 changes: 11 additions & 0 deletions src/qcodes/instrument_drivers/basel/sp983c.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,19 @@

"""

import warnings

from qcodes.utils import QCoDeSDeprecationWarning

from .BaselSP983c import BaselSP983c

warnings.warn(
"The `qcodes._drivers.basel.sp983c` module is deprecated. "
"Please import drivers from from `qcodes.instrument_drivers.basel` instead.",
category=QCoDeSDeprecationWarning,
stacklevel=2,
)


class SP983C(BaselSP983c):
def get_idn(self) -> dict[str, str | None]:
Expand Down
11 changes: 11 additions & 0 deletions src/qcodes/instrument_drivers/basel/sp983c_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,15 @@

"""

import warnings

from qcodes.utils import QCoDeSDeprecationWarning

from .BaselSP983a import BaselSP983a as SP983A

warnings.warn(
"The `qcodes._drivers.basel.sp983c_remote` module is deprecated. "
"Please import drivers from from `qcodes.instrument_drivers.basel` instead.",
category=QCoDeSDeprecationWarning,
stacklevel=2,
)
Loading