Skip to content
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

Open status for only existing samples ticket #4139

Closed
wants to merge 246 commits into from

Conversation

eliottBo
Copy link
Contributor

Description

Close #4006

Added

  • When an order contains only existing samples, the ticket gets the status OPEN

How to prepare for test

  • Ssh to relevant server (depending on type of change)
  • Use stage: us
  • Paxa the environment: paxa
  • Install on stage (example for Hasta):
    bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-stage.sh -e S_cg -t cg -b [THIS-BRANCH-NAME] -a

How to test

  • Do ...

Expected test outcome

  • Check that ...
  • Take a screenshot and attach or copy/paste the output.

Review

  • Tests executed by
  • "Merge and deploy" approved by
    Thanks for filling in who performed the code review and the test!

This version is a

  • MAJOR - when you make incompatible API changes
  • MINOR - when you add functionality in a backwards compatible manner
  • PATCH - when you make backwards compatible bug fixes or documentation/instructions

Implementation Plan

  • Document in ...
  • Deploy this branch on ...
  • Inform to ...

islean and others added 30 commits July 5, 2024 15:09
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.
islean and others added 22 commits January 20, 2025 16:16
### Fixed

- Existing samples are enforced to belong to the same collaboration as the customer placing the order.
enhance order submission integration tests
### Fixed

- No hard coding of delivery type or workflow in the storing services
### Fixed

- The pre commit matches master
### Fixed

- MutantSample and MicrosaltSample dumps the verified_organism value
### Fixed

- The repeated case name rule only considers new cases
### Fixed

- The volume interval is not validated for Pacbio orders since the interval is not what the customers need either way
### Fixed

- Panels are optional for existing cases.
add test for validation pool
add tests for mutant validator
@eliottBo eliottBo requested a review from a team as a code owner January 22, 2025 11:59
Merge branch 'existing-data-tag' into open-status-for-only-existing-samples-ticket
Copy link

@eliottBo eliottBo requested a review from diitaz93 January 22, 2025 15:16
Base automatically changed from improve-order-flow-main to master January 23, 2025 09:01
@eliottBo
Copy link
Contributor Author

Wrong base branch chosen, closing

@eliottBo eliottBo closed this Jan 23, 2025
@eliottBo eliottBo deleted the open-status-for-only-existing-samples-ticket branch January 23, 2025 13:04
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.

Order tickets containing ONLY existing samples should have the status "open"
6 participants