-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: retain WellPlatePlan type when used for MDASequence.stage_positi…
…ons (#190) This commit refactors the `_validate_stage_positions` method in the `MDASequence` class to improve the validation process for the `stage_positions` field. The method now checks if the value is an instance of `np.ndarray` and handles it accordingly. Additionally, it adds support for validating a `WellPlatePlan` object as the `stage_positions` value. The commit also includes a new test case in `test_well_plate.py` to ensure that the `stage_positions` field in `MDASequence` correctly handles a `WellPlatePlan` object. Fixes #XYZ
- Loading branch information
1 parent
dea132e
commit f689e06
Showing
2 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters