-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEV - Improve order flow main #3815
Draft
islean
wants to merge
199
commits into
master
Choose a base branch
from
improve-order-flow-main
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
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
Add parent models and Tomte models for the new validation flow.
Split logic into modules based on workflow
### Fixed - Some typing and a blueprint method for converting pydantic errors to our own custom errors.
### Added - Validation that the provided applications exist in the database
### Added - Check that the application provided is compatible with the chosen workflow.
### Added - Applications are validated not to be archived.
### Fixed - Standardised rule naming.
### Added - Added validation making sure that the gene panels exist in status db
### Added - Adds validation ensuring gene panels are not specified more than once.
### Added - Buffer validation for orders attempting to skip reception control
### Added - Validation ensuring that the subject id is not the same as the case name.
### Added - Validation ensuring that the sample name and subject id can not be the same.
### Added - Validation that the concentration is provided for all samples when skip reception control is attempted.
### Added - Container names are required when using well plates.
### Added - Validation that well position is filled in for samples in a well plate.
### Fixed - Response from StoreMicrobialFastqOrderService specifies project
Rework order fixtures
### Added - Validation rules ensuring only one priority and application is allowed per pool.
### Changed - The OrderSubmitterRegistry is a StoringServiceRegistry - The OrderSubmitters are removed - The OrdersAPI needs no Store in its init - The OrdersAPI needs a StoringServiceRegistry instead of a SubmitterRegistry - The OrdersAPI needs an OrderValidationService
diitaz93
reviewed
Jan 10, 2025
diitaz93
reviewed
Jan 10, 2025
diitaz93
reviewed
Jan 13, 2025
## Description Closes Clinical-Genomics/improve-order-flow#102 Fixes the sample name validation rule for Mutant orders to exclude control samples from the name check ### Added - Validation function `validate_non_control_sample_names_available` that verifies that sample names used in an order are not in the store excluding control samples - Utils function `get_sample_name_not_available_errors` used in new validation function - Mutant order fixture - aliases to group samples with organism and samples orders with control samples - tests for new validation functions ### Changed - Refactored validation function `validate_sample_names_available` to use the new utils function ### Fixed - Changed some balsamic structure in the order validation service - Reverted some deletions in json order fixtures from previous prs
### Added - Index sequences stored in backend ### Fixed - Index validation added
### Added - Tests for the order rules ### Fixed - connect_to_ticket removed from Order - user_id is made into a private attribute
## Description Closes Clinical-Genomics/improve-order-flow#119 Adds MAF cases to a fictitious MAF order
### Fixed - Removed old ValidateFastqOrderService
Remove old pacbio validation
remove metagenome old validation
### Fixed - Removed old microbial validation service
remove pool old validation
### Fixed - Removed old case order validation
Quality Gate passedIssues Measures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Added
Changed
Fixed
How to prepare for test
us
paxa
How to test
Expected test outcome
Review
Thanks for filling in who performed the code review and the test!
This version is a
Implementation Plan