Skip to content

Conversation

@BioCam
Copy link
Collaborator

@BioCam BioCam commented Dec 28, 2025

No description provided.

@BioCam BioCam requested a review from rickwierenga December 30, 2025 17:35
@rickwierenga rickwierenga merged commit 915ebc1 into PyLabRobot:main Dec 30, 2025
9 checks passed
@BioCam BioCam requested a review from Copilot December 31, 2025 09:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reorganizes the plate_reading package by creating vendor-specific subdirectories (molecular_devices, bmg_labtech, agilent) and moving backend implementations into these subdirectories. The changes maintain backward compatibility by creating deprecation shim files at the original locations.

Key Changes

  • Created vendor-specific subdirectories for plate reader backends
  • Moved existing backend files to appropriate vendor directories
  • Added deprecation warnings for old import paths
  • Updated internal imports to reflect new package structure

Reviewed changes

Copilot reviewed 19 out of 20 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pylabrobot/plate_reading/molecular_devices/backend.py New file containing moved MolecularDevices backend code
pylabrobot/plate_reading/molecular_devices_backend.py Converted to deprecation shim with re-exports
pylabrobot/plate_reading/bmg_labtech/clario_star_backend.py New file containing moved CLARIOstar backend code
pylabrobot/plate_reading/clario_star_backend.py Converted to deprecation shim
pylabrobot/plate_reading/agilent/*.py Updated imports to reflect new structure
pylabrobot/plate_reading/init.py Updated to import from new vendor subdirectories

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

from pylabrobot.io.serial import Serial
from pylabrobot.plate_reading.backend import PlateReaderBackend
from pylabrobot.resources.plate import Plate
from .molecular_devices.backend import ( # noqa: F401s
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.

Extra 's' character in 'F401s' - should be 'F401'.

Suggested change
from .molecular_devices.backend import ( # noqa: F401s
from .molecular_devices.backend import ( # noqa: F401

Copilot uses AI. Check for mistakes.
Comment on lines +11 to +12
"pylabrobot.plate_reading.biotek_backend is deprecated and will be removed in a future release. "
"Please use pylabrobot.plate_reading.agilent.biotek_backend instead.",
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.
@BioCam BioCam deleted the organise-plate_reading-package branch December 31, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants