-
Notifications
You must be signed in to change notification settings - Fork 20
Reference Data Update Type Equality Check #789
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
0973dc9
Finish validity check test
bpblanken 27ac8d4
ruff
bpblanken f227a05
update dbnsfp field
bpblanken fa6db6d
More types
bpblanken 15ea14c
more types
bpblanken b5b7e47
ugh
bpblanken 314484b
twiddle it back
bpblanken a2dd695
update type
bpblanken 3573cb7
more tweaks
bpblanken 6a6373d
lint
bpblanken d04325e
fix floats
bpblanken d3ee4fa
decompose
bpblanken 9edfc4f
ruff formatg
bpblanken 093890e
Update compare_globals_test.py
bpblanken File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -45,7 +45,7 @@ | |
hl.tstruct( | ||
locus=hl.tlocus('GRCh38'), | ||
alleles=hl.tarray(hl.tstr), | ||
PHRED=hl.tint32, | ||
PHRED=hl.tfloat32, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we had a few types in our tests/mock data that weren't right and doing this work caught them 🤩 ! |
||
), | ||
key=['locus', 'alleles'], | ||
globals=hl.Struct( | ||
|
@@ -760,7 +760,7 @@ def test_update_vat_with_updated_rdc_snv_indel_38( | |
conditions=None, | ||
), | ||
dbnsfp=hl.Struct( | ||
REVEL_score=0.043, | ||
REVEL_score=0.0430000014603138, | ||
SIFT_score=None, | ||
Polyphen2_HVAR_score=None, | ||
MutationTaster_pred_id=0, | ||
|
@@ -1168,7 +1168,7 @@ def test_update_vat_with_updated_rdc_snv_indel_37( | |
conditions=None, | ||
), | ||
dbnsfp=hl.Struct( | ||
REVEL_score=0.043, | ||
REVEL_score=0.0430000014603138, | ||
SIFT_score=None, | ||
Polyphen2_HVAR_score=None, | ||
MutationTaster_pred_id=0, | ||
|
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_1.ht/.README.txt.crc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_1.ht/.metadata.json.gz.crc
Binary file not shown.
4 changes: 2 additions & 2 deletions
4
v03_pipeline/var/test/reference_data/test_combined_1.ht/README.txt
This file contains hidden or 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.128-eead8100a1c1 | ||
Created at 2024/05/09 20:02:21 | ||
Written with version 0.2.130-bea04d9c79b5 | ||
Created at 2024/05/20 13:48:16 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_1.ht/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_1.ht/rows/.metadata.json.gz.crc
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
v03_pipeline/var/test/reference_data/test_combined_1.ht/rows/metadata.json.gz
Binary file not shown.
Binary file added
BIN
+12 Bytes
...rence_data/test_combined_1.ht/rows/parts/.part-0-6a5a9d6a-4ded-424b-9735-922a5346e7ad.crc
Binary file not shown.
Binary file removed
BIN
-12 Bytes
...rence_data/test_combined_1.ht/rows/parts/.part-0-963ef6be-cd5f-443a-970c-8b5cf2bcd090.crc
Binary file not shown.
Binary file added
BIN
+106 Bytes
.../reference_data/test_combined_1.ht/rows/parts/part-0-6a5a9d6a-4ded-424b-9735-922a5346e7ad
Binary file not shown.
Binary file removed
BIN
-107 Bytes
.../reference_data/test_combined_1.ht/rows/parts/part-0-963ef6be-cd5f-443a-970c-8b5cf2bcd090
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_37.ht/.README.txt.crc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_37.ht/.metadata.json.gz.crc
Binary file not shown.
4 changes: 2 additions & 2 deletions
4
v03_pipeline/var/test/reference_data/test_combined_37.ht/README.txt
This file contains hidden or 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.128-eead8100a1c1 | ||
Created at 2024/03/21 11:28:13 | ||
Written with version 0.2.130-bea04d9c79b5 | ||
Created at 2024/05/20 15:38:26 |
Binary file added
BIN
+12 Bytes
...data/test_combined_37.ht/index/part-0-ac85fcb0-1e7c-453f-be81-9cd356dc49ff.idx/.index.crc
Binary file not shown.
Binary file added
BIN
+12 Bytes
...ombined_37.ht/index/part-0-ac85fcb0-1e7c-453f-be81-9cd356dc49ff.idx/.metadata.json.gz.crc
Binary file not shown.
Binary file added
BIN
+140 Bytes
...ence_data/test_combined_37.ht/index/part-0-ac85fcb0-1e7c-453f-be81-9cd356dc49ff.idx/index
Binary file not shown.
Binary file added
BIN
+187 Bytes
...est_combined_37.ht/index/part-0-ac85fcb0-1e7c-453f-be81-9cd356dc49ff.idx/metadata.json.gz
Binary file not shown.
Binary file removed
BIN
-12 Bytes
...data/test_combined_37.ht/index/part-0-da748236-79a9-461e-a62a-a9280e863d48.idx/.index.crc
Binary file not shown.
Binary file removed
BIN
-12 Bytes
...ombined_37.ht/index/part-0-da748236-79a9-461e-a62a-a9280e863d48.idx/.metadata.json.gz.crc
Binary file not shown.
Binary file removed
BIN
-137 Bytes
...ence_data/test_combined_37.ht/index/part-0-da748236-79a9-461e-a62a-a9280e863d48.idx/index
Binary file not shown.
Binary file removed
BIN
-186 Bytes
...est_combined_37.ht/index/part-0-da748236-79a9-461e-a62a-a9280e863d48.idx/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_37.ht/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_37.ht/rows/.metadata.json.gz.crc
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_37.ht/rows/metadata.json.gz
Binary file not shown.
Binary file added
BIN
+12 Bytes
...ence_data/test_combined_37.ht/rows/parts/.part-0-ac85fcb0-1e7c-453f-be81-9cd356dc49ff.crc
Binary file not shown.
Binary file removed
BIN
-12 Bytes
...ence_data/test_combined_37.ht/rows/parts/.part-0-da748236-79a9-461e-a62a-a9280e863d48.crc
Binary file not shown.
Binary file added
BIN
+210 Bytes
...reference_data/test_combined_37.ht/rows/parts/part-0-ac85fcb0-1e7c-453f-be81-9cd356dc49ff
Binary file not shown.
Binary file removed
BIN
-212 Bytes
...reference_data/test_combined_37.ht/rows/parts/part-0-da748236-79a9-461e-a62a-a9280e863d48
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_mito_1.ht/.README.txt.crc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_mito_1.ht/.metadata.json.gz.crc
Binary file not shown.
4 changes: 2 additions & 2 deletions
4
v03_pipeline/var/test/reference_data/test_combined_mito_1.ht/README.txt
This file contains hidden or 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.128-eead8100a1c1 | ||
Created at 2024/03/21 11:35:30 | ||
Written with version 0.2.130-bea04d9c79b5 | ||
Created at 2024/05/20 14:08:17 |
Binary file removed
BIN
-12 Bytes
.../test_combined_mito_1.ht/index/part-0-262c4389-1ff9-432a-ab5c-4c9cfa547dc4.idx/.index.crc
Binary file not shown.
Binary file added
BIN
+12 Bytes
.../test_combined_mito_1.ht/index/part-0-2e25c2cc-84c0-4816-b8dc-5e8c19c4f1d2.idx/.index.crc
Binary file not shown.
File renamed without changes.
Binary file renamed
BIN
+130 Bytes
...389-1ff9-432a-ab5c-4c9cfa547dc4.idx/index → ...2cc-84c0-4816-b8dc-5e8c19c4f1d2.idx/index
Binary file not shown.
File renamed without changes.
Binary file modified
BIN
+4 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_mito_1.ht/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_mito_1.ht/rows/.metadata.json.gz.crc
Binary file not shown.
Binary file modified
BIN
+4 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_combined_mito_1.ht/rows/metadata.json.gz
Binary file not shown.
Binary file removed
BIN
-12 Bytes
..._data/test_combined_mito_1.ht/rows/parts/.part-0-262c4389-1ff9-432a-ab5c-4c9cfa547dc4.crc
Binary file not shown.
Binary file added
BIN
+12 Bytes
..._data/test_combined_mito_1.ht/rows/parts/.part-0-2e25c2cc-84c0-4816-b8dc-5e8c19c4f1d2.crc
Binary file not shown.
Binary file removed
BIN
-219 Bytes
...rence_data/test_combined_mito_1.ht/rows/parts/part-0-262c4389-1ff9-432a-ab5c-4c9cfa547dc4
Binary file not shown.
Binary file added
BIN
+224 Bytes
...rence_data/test_combined_mito_1.ht/rows/parts/part-0-2e25c2cc-84c0-4816-b8dc-5e8c19c4f1d2
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_interval_1.ht/.README.txt.crc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_interval_1.ht/.metadata.json.gz.crc
Binary file not shown.
4 changes: 2 additions & 2 deletions
4
v03_pipeline/var/test/reference_data/test_interval_1.ht/README.txt
This file contains hidden or 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.114-cc8d36408b36 | ||
Created at 2023/07/13 19:51:12 | ||
Written with version 0.2.130-bea04d9c79b5 | ||
Created at 2024/05/20 13:22:32 |
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_interval_1.ht/globals/.metadata.json.gz.crc
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(99%)
v03_pipeline/var/test/reference_data/test_interval_1.ht/globals/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_interval_1.ht/globals/parts/.part-0.crc
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(98%)
v03_pipeline/var/test/reference_data/test_interval_1.ht/globals/parts/part-0
Binary file not shown.
Binary file added
BIN
+12 Bytes
..._data/test_interval_1.ht/index/part-0-1224c3b3-ab5b-49d7-8d6d-6084ccbbc683.idx/.index.crc
Binary file not shown.
Binary file added
BIN
+12 Bytes
...interval_1.ht/index/part-0-1224c3b3-ab5b-49d7-8d6d-6084ccbbc683.idx/.metadata.json.gz.crc
Binary file not shown.
Binary file added
BIN
+79 Bytes
...rence_data/test_interval_1.ht/index/part-0-1224c3b3-ab5b-49d7-8d6d-6084ccbbc683.idx/index
Binary file not shown.
Binary file added
BIN
+176 Bytes
...test_interval_1.ht/index/part-0-1224c3b3-ab5b-49d7-8d6d-6084ccbbc683.idx/metadata.json.gz
Binary file not shown.
Binary file removed
BIN
-12 Bytes
..._data/test_interval_1.ht/index/part-0-2d30884d-a682-4d9e-9214-4bf4b5156c98.idx/.index.crc
Binary file not shown.
Binary file removed
BIN
-12 Bytes
...interval_1.ht/index/part-0-2d30884d-a682-4d9e-9214-4bf4b5156c98.idx/.metadata.json.gz.crc
Binary file not shown.
Binary file removed
BIN
-65 Bytes
...rence_data/test_interval_1.ht/index/part-0-2d30884d-a682-4d9e-9214-4bf4b5156c98.idx/index
Binary file not shown.
Binary file removed
BIN
-176 Bytes
...test_interval_1.ht/index/part-0-2d30884d-a682-4d9e-9214-4bf4b5156c98.idx/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_interval_1.ht/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
v03_pipeline/var/test/reference_data/test_interval_1.ht/rows/.metadata.json.gz.crc
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(99%)
v03_pipeline/var/test/reference_data/test_interval_1.ht/rows/metadata.json.gz
Binary file not shown.
Binary file added
BIN
+12 Bytes
...rence_data/test_interval_1.ht/rows/parts/.part-0-1224c3b3-ab5b-49d7-8d6d-6084ccbbc683.crc
Binary file not shown.
Binary file removed
BIN
-12 Bytes
...rence_data/test_interval_1.ht/rows/parts/.part-0-2d30884d-a682-4d9e-9214-4bf4b5156c98.crc
Binary file not shown.
Binary file added
BIN
+60 Bytes
.../reference_data/test_interval_1.ht/rows/parts/part-0-1224c3b3-ab5b-49d7-8d6d-6084ccbbc683
Binary file not shown.
Binary file removed
BIN
-47 Bytes
.../reference_data/test_interval_1.ht/rows/parts/part-0-2d30884d-a682-4d9e-9214-4bf4b5156c98
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The idea here is to just ensure that any fields shared between the existing table and an "update" are identically typed.
imo we're getting very close to needing a statically defined schema for these, but trying to squeeze that in was much messier.