Skip to content

Commit

Permalink
fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
apriltuesday committed Oct 17, 2024
1 parent 96050a0 commit f361ec1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def run_pipeline(resource_name, include_transcripts=False):

def test_successful_run():
assert sorted(run_pipeline('precise_genomic.xml.gz')) == sorted([
['NC_000016.10:g.72059151_72063259del', 'ENSG00000140830', 'TXNL4B', 'intron_variant'],
['NC_000016.10:g.72059151_72063259del', 'ENSG00000257017', 'HP', 'stop_lost'],
['NC_000016.10:g.72059151_72063259del', 'ENSG00000261701', 'HPR', 'feature_truncation'],
['NC_000001.11:g.25271785_25329047del', 'ENSG00000117616', 'RSRP1', 'intron_variant'],
Expand All @@ -37,7 +36,7 @@ def test_successful_run():

def test_successful_run_with_transcripts():
results = run_pipeline('precise_genomic.xml.gz', include_transcripts=True)
assert len(results) == 28
assert len(results) == 27
assert ['NC_000001.11:g.25271785_25329047del', 'ENSG00000187010', 'RHD', 'stop_lost', 'ENST00000454452'] in results


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"releaseDate": "2013-04-04",
"studyId": "RCV000002127",
"targetFromSourceId": "ENSG00000139988",
"variantFromSourceId": "VCV000002046",
"variantFunctionalConsequenceId": "SO_0001583",
"variantHgvsId": "NC_000014.9:g.67729209A>G",
"variantId": "14_67729209_A_G",
"variantFromSourceId": "VCV000002046",
"variantRsId": "rs28940313"
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"releaseDate": "2017-01-13",
"studyId": "RCV000415158",
"targetFromSourceId": "ENSG00000139988",
"variantFromSourceId": "VCV000374196",
"variantFunctionalConsequenceId": "SO_0001583",
"variantHgvsId": "NC_000007.14:g.94423102G>A",
"variantId": "7_94423102_G_A",
"variantFromSourceId": "VCV000374196",
"variantRsId": "rs1057518967"
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"releaseDate": "2013-04-04",
"studyId": "RCV000002127",
"targetFromSourceId": "ENSG00000139988",
"variantFromSourceId": "VCV000002046",
"variantFunctionalConsequenceId": "SO_0001583",
"variantHgvsId": "NC_000014.9:g.67729209A>G",
"variantId": "14_67729209_A_G",
"variantFromSourceId": "VCV000002046",
"variantRsId": "rs28940313"
}

0 comments on commit f361ec1

Please sign in to comment.