Skip to content

Commit

Permalink
refactor method names
Browse files Browse the repository at this point in the history
  • Loading branch information
yaseminbridges committed Sep 13, 2024
1 parent 5fac827 commit 5a529b2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/test_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_assess_gene_with_ascending_order_threshold_fails_cutoff(self):
assess_ascending_order_threshold = copy(self.assess_gene_prioritisation_ascending_order)
assess_ascending_order_threshold.threshold = 0.1
self.assertEqual(
assess_ascending_order_threshold._assess_gene_with_threshold_ascending_order(
assess_ascending_order_threshold._assess_with_threshold_ascending_order(
result_entry=RankedPhEvalGeneResult(
gene_symbol="PLXNA1",
gene_identifier="ENSG00000114554",
Expand All @@ -88,7 +88,7 @@ def test_assess_gene_with_ascending_order_threshold_meets_cutoff(self):
assess_ascending_order_threshold = copy(self.assess_gene_prioritisation_ascending_order)
assess_ascending_order_threshold.threshold = 0.9
self.assertEqual(
assess_ascending_order_threshold._assess_gene_with_threshold_ascending_order(
assess_ascending_order_threshold._assess_with_threshold_ascending_order(
result_entry=RankedPhEvalGeneResult(
gene_symbol="PLXNA1",
gene_identifier="ENSG00000114554",
Expand All @@ -103,7 +103,7 @@ def test_assess_gene_with_threshold_fails_cutoff(self):
assess_with_threshold = copy(self.assess_gene_prioritisation)
assess_with_threshold.threshold = 0.9
self.assertEqual(
assess_with_threshold._assess_gene_with_threshold(
assess_with_threshold._assess_with_threshold(
result_entry=RankedPhEvalGeneResult(
gene_symbol="PLXNA1",
gene_identifier="ENSG00000114554",
Expand All @@ -118,7 +118,7 @@ def test_assess_gene_with_threshold_meets_cutoff(self):
assess_with_threshold = copy(self.assess_gene_prioritisation)
assess_with_threshold.threshold = 0.5
self.assertEqual(
assess_with_threshold._assess_gene_with_threshold(
assess_with_threshold._assess_with_threshold(
result_entry=RankedPhEvalGeneResult(
gene_symbol="PLXNA1",
gene_identifier="ENSG00000114554",
Expand Down Expand Up @@ -213,7 +213,7 @@ def test_assess_variant_with_ascending_order_threshold_fails_cutoff(self):
assess_with_threshold = copy(self.assess_variant_prioritisation_ascending_order)
assess_with_threshold.threshold = 0.01
self.assertEqual(
assess_with_threshold._assess_variant_with_threshold_ascending_order(
assess_with_threshold._assess_with_threshold_ascending_order(
result_entry=RankedPhEvalVariantResult(
chromosome="3",
start=126741108,
Expand All @@ -231,7 +231,7 @@ def test_assess_variant_with_ascending_order_threshold_meets_cutoff(self):
assess_with_threshold = copy(self.assess_variant_prioritisation_ascending_order)
assess_with_threshold.threshold = 0.9
self.assertEqual(
assess_with_threshold._assess_variant_with_threshold_ascending_order(
assess_with_threshold._assess_with_threshold_ascending_order(
result_entry=RankedPhEvalVariantResult(
chromosome="3",
start=126741108,
Expand All @@ -249,7 +249,7 @@ def test_assess_variant_with_threshold_fails_cutoff(self):
assess_with_threshold = copy(self.assess_variant_prioritisation)
assess_with_threshold.threshold = 0.9
self.assertEqual(
assess_with_threshold._assess_variant_with_threshold(
assess_with_threshold._assess_with_threshold(
result_entry=RankedPhEvalVariantResult(
chromosome="3",
start=126741108,
Expand All @@ -267,7 +267,7 @@ def test_assess_variant_with_threshold_meets_cutoff(self):
assess_with_threshold = copy(self.assess_variant_prioritisation)
assess_with_threshold.threshold = 0.01
self.assertEqual(
assess_with_threshold._assess_variant_with_threshold(
assess_with_threshold._assess_with_threshold(
result_entry=RankedPhEvalVariantResult(
chromosome="3",
start=126741108,
Expand Down Expand Up @@ -382,7 +382,7 @@ def test_assess_disease_with_ascending_order_threshold_fails_cutoff(self):
assess_ascending_order_threshold = copy(self.assess_disease_prioritisation_ascending_order)
assess_ascending_order_threshold.threshold = 0.1
self.assertEqual(
assess_ascending_order_threshold._assess_disease_with_threshold_ascending_order(
assess_ascending_order_threshold._assess_with_threshold_ascending_order(
result_entry=RankedPhEvalDiseaseResult(
disease_name="Glutaric aciduria type 1",
disease_identifier="OMIM:231670",
Expand All @@ -397,7 +397,7 @@ def test_assess_disease_with_ascending_order_threshold_meets_cutoff(self):
assess_ascending_order_threshold = copy(self.assess_disease_prioritisation_ascending_order)
assess_ascending_order_threshold.threshold = 0.9
self.assertEqual(
assess_ascending_order_threshold._assess_disease_with_threshold_ascending_order(
assess_ascending_order_threshold._assess_with_threshold_ascending_order(
result_entry=RankedPhEvalDiseaseResult(
disease_name="Glutaric aciduria type 1",
disease_identifier="OMIM:231670",
Expand All @@ -412,7 +412,7 @@ def test_assess_disease_with_threshold_fails_cutoff(self):
assess_with_threshold = copy(self.assess_disease_prioritisation)
assess_with_threshold.threshold = 0.9
self.assertEqual(
assess_with_threshold._assess_disease_with_threshold(
assess_with_threshold._assess_with_threshold(
result_entry=RankedPhEvalDiseaseResult(
disease_identifier="OMIM:231670",
disease_name="Glutaric aciduria type 1",
Expand All @@ -427,7 +427,7 @@ def test_assess_disease_with_threshold_meets_cutoff(self):
assess_with_threshold = copy(self.assess_disease_prioritisation)
assess_with_threshold.threshold = 0.5
self.assertEqual(
assess_with_threshold._assess_disease_with_threshold(
assess_with_threshold._assess_with_threshold(
result_entry=RankedPhEvalDiseaseResult(
disease_identifier="OMIM:231670",
disease_name="Glutaric aciduria type 1",
Expand Down

0 comments on commit 5a529b2

Please sign in to comment.