-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1178 from mild-blue/fix-generate-patients-for-pyt…
…hon-3_11 Generate new patients for large DB + fix generation for python 3.11
- Loading branch information
Showing
11 changed files
with
6,877 additions
and
2,844 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
Removes inconsistent patients. | ||
Most often, this is related to parsing_issue BASIC_HLA_GROUP_IS_EMPTY. | ||
*/ | ||
|
||
DELETE FROM recipient | ||
WHERE id IN | ||
(SELECT recipient.id FROM recipient | ||
JOIN parsing_issue ON parsing_issue.recipient_id=recipient.id | ||
WHERE parsing_issue.parsing_issue_detail = 'BASIC_HLA_GROUP_IS_EMPTY'); | ||
|
||
DELETE FROM donor | ||
WHERE id IN | ||
(SELECT donor.id FROM donor | ||
JOIN parsing_issue ON parsing_issue.donor_id=donor.id | ||
WHERE parsing_issue.parsing_issue_detail = 'BASIC_HLA_GROUP_IS_EMPTY'); |
2 changes: 1 addition & 1 deletion
2
tests/resources/high_res_example_data/high_res_example_data_CAN.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
tests/resources/high_res_example_data/high_res_example_data_CZE.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
tests/resources/high_res_example_data/high_res_example_data_IND.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.