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 sample name validation for microbial fastq #4019

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

islean
Copy link
Contributor

@islean islean commented Dec 11, 2024

Description

This PR suggests that we disallow any orders reusing sample names within microbial fastq.

Added

Changed

  • Microbial fastq orders containing samples which the customer has used in a previous order do not pass validation.

Fixed

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 islean requested a review from a team as a code owner December 11, 2024 13:17
Copy link
Contributor

@ChrOertlin ChrOertlin left a comment

Choose a reason for hiding this comment

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

Looks good. We should consider splitting these order types though and treat each as their own instead of solving this with if statements. I think we would gain a bit more clarity that way.

Copy link
Contributor

@diitaz93 diitaz93 left a comment

Choose a reason for hiding this comment

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

looks good 👍

@clingen-sthlm clingen-sthlm temporarily deployed to stage December 17, 2024 08:15 Inactive
@islean
Copy link
Contributor Author

islean commented Dec 17, 2024

Tested in stage:

image

@islean islean merged commit d1004b4 into master Dec 17, 2024
10 checks passed
@islean islean deleted the add-microbial-fastq-validation branch December 17, 2024 08:19
@islean
Copy link
Contributor Author

islean commented Dec 17, 2024

Deployed to the VMs

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.

4 participants