Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
33 changes: 29 additions & 4 deletions pylabrobot/plate_reading/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,40 @@
from .agilent_biotek_backend import BioTekPlateReaderBackend
from .agilent_biotek_cytation_backend import (
from __future__ import annotations

from typing import Any

from .agilent import (
BioTekPlateReaderBackend,
Cytation5Backend,
Cytation5ImagingConfig,
CytationBackend,
CytationImagingConfig,
SynergyH1Backend,
)
from .agilent_biotek_synergyh1_backend import SynergyH1Backend
from .bmg_labtech import CLARIOstarBackend
from .chatterbox import PlateReaderChatterboxBackend
from .clario_star_backend import CLARIOstarBackend
from .image_reader import ImageReader
from .imager import Imager
from .molecular_devices import (
Calibrate,
CarriageSpeed,
KineticSettings,
MolecularDevicesBackend,
MolecularDevicesError,
MolecularDevicesFirmwareError,
MolecularDevicesHardwareError,
MolecularDevicesMotionError,
MolecularDevicesNVRAMError,
MolecularDevicesSettings,
MolecularDevicesSpectraMax384PlusBackend,
MolecularDevicesSpectraMaxM5Backend,
MolecularDevicesUnrecognizedCommandError,
PmtGain,
ReadMode,
ReadOrder,
ReadType,
ShakeSettings,
SpectrumSettings,
)
from .plate_reader import PlateReader
from .standard import (
Exposure,
Expand Down
8 changes: 8 additions & 0 deletions pylabrobot/plate_reading/agilent/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from .biotek_backend import BioTekPlateReaderBackend
from .biotek_cytation_backend import (
Cytation5Backend,
Cytation5ImagingConfig,
CytationBackend,
CytationImagingConfig,
)
from .biotek_synergyh1_backend import SynergyH1Backend
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from dataclasses import dataclass
from typing import List, Literal, Optional, Tuple, Union

from pylabrobot.plate_reading.agilent_biotek_backend import BioTekPlateReaderBackend
from pylabrobot.plate_reading.agilent.biotek_backend import BioTekPlateReaderBackend
from pylabrobot.plate_reading.backend import ImagerBackend
from pylabrobot.resources import Plate

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from pylibftdi import FtdiError

from pylabrobot.plate_reading.agilent_biotek_backend import BioTekPlateReaderBackend
from pylabrobot.plate_reading.agilent.biotek_backend import BioTekPlateReaderBackend

logger = logging.getLogger(__name__)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import unittest.mock
from typing import Iterator

from pylabrobot.plate_reading.agilent_biotek_cytation_backend import CytationBackend
from pylabrobot.plate_reading.agilent.biotek_cytation_backend import CytationBackend
from pylabrobot.resources import CellVis_24_wellplate_3600uL_Fb, CellVis_96_wellplate_350uL_Fb


Expand Down
8 changes: 8 additions & 0 deletions pylabrobot/plate_reading/biotek_backend.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import warnings

from .agilent.biotek_backend import BioTekPlateReaderBackend # noqa: F401

warnings.warn(
"pylabrobot.plate_reading.biotek_backend is deprecated and will be removed in a future release. "
"Please use pylabrobot.plate_reading.agilent.biotek_backend instead.",
)
13 changes: 13 additions & 0 deletions pylabrobot/plate_reading/biotek_cytation_backend.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import warnings

from .agilent.biotek_cytation_backend import (
Cytation5Backend, # noqa: F401
Cytation5ImagingConfig, # noqa: F401
CytationBackend, # noqa: F401
CytationImagingConfig, # noqa: F401
)

warnings.warn(
"pylabrobot.plate_reading.biotek_backend is deprecated and will be removed in a future release. "
"Please use pylabrobot.plate_reading.agilent.biotek_backend instead.",
Comment on lines +11 to +12
Copy link

Copilot AI Dec 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deprecation warning message refers to 'biotek_backend' but this file is 'biotek_cytation_backend'. The message should indicate the correct deprecated module name.

Suggested change
"pylabrobot.plate_reading.biotek_backend is deprecated and will be removed in a future release. "
"Please use pylabrobot.plate_reading.agilent.biotek_backend instead.",
"pylabrobot.plate_reading.biotek_cytation_backend is deprecated and will be removed in a future release. "
"Please use pylabrobot.plate_reading.agilent.biotek_cytation_backend instead.",

Copilot uses AI. Check for mistakes.
)
8 changes: 8 additions & 0 deletions pylabrobot/plate_reading/biotek_synergyh1_backend.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import warnings

from .agilent.biotek_synergyh1_backend import SynergyH1Backend # noqa: F401

warnings.warn(
"pylabrobot.plate_reading.biotek_synergyh1_backend is deprecated and will be removed in a future release. "
"Please use pylabrobot.plate_reading.agilent.biotek_synergyh1_backend instead.",
)
1 change: 1 addition & 0 deletions pylabrobot/plate_reading/bmg_labtech/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .clario_star_backend import CLARIOstarBackend
Loading