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

Add existing-data tag to ticket #4133

Closed
wants to merge 239 commits into from
Closed

Add existing-data tag to ticket #4133

wants to merge 239 commits into from

Conversation

eliottBo
Copy link
Contributor

Description

close #4005

Added

  • When a ticket is created with existing samples, a tag existing-data is added to it.

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 15 commits January 20, 2025 15:34
### Fixed

- Existing cases are forced to be part of the customer's collaboration
### 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.
@eliottBo eliottBo requested a review from a team as a code owner January 21, 2025 10:32
@eliottBo eliottBo linked an issue Jan 21, 2025 that may be closed by this pull request
2 tasks
@eliottBo
Copy link
Contributor Author

eliottBo commented Jan 21, 2025

I do not see why other tests that I haven't touched could be affected but I think you recently changed stuff in there when you have time can you help me understanding what happened? Thanks

cg/meta/orders/utils.py Outdated Show resolved Hide resolved
cg/meta/orders/utils.py Outdated Show resolved Hide resolved
Copy link

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

Problem with merging improve-order-flow-main, closing

@eliottBo eliottBo closed this Jan 23, 2025
@eliottBo eliottBo deleted the existing-data-tag branch January 23, 2025 14:08
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.

Tag order tickets that contain existing sample(s) with "existing-data"
7 participants