-
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
Add column to determine if eligible for skip qc #2758
Conversation
Downgrade successful:
|
def upgrade(): | ||
op.add_column( | ||
"application", | ||
sa.Column("is_eligible_for_skip_qc", sa.Boolean(), nullable=False), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be necessary to provide a default value to the column here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but maybe a good idea to set it to False as default, not sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit unsure what it would add, given that the script has already been tested and added the column with False as default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but when are the values updated? Is it going to be a separate PR?
It won't be an automatic thing, rather that lab or production need to be able to set this manually when adding new Applications. Or at least that is my understanding currently, need to check whether this solution is satisfactory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Upon discussion, this will start out as the customer's responsibility. So for now there is no reason to add this functionality. |
Description
As part of the ongoing developments to let some customers bypass our qc, we need to keep track of which applications are allowed. The ones currently allowed are described here https://github.com/Clinical-Genomics/project-planning/issues/485#issuecomment-1845032498. This PR adds a column to the Application table which shows whether the application is eligible for skipping qc.
Added
is_eligible_for_skip_qc
column to the Application table.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