Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into il-group-overlaps
  • Loading branch information
ireneisdoomed committed Jan 4, 2024
2 parents 8a93e11 + ee79424 commit e119770
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
24 changes: 0 additions & 24 deletions src/otg/assets/schemas/study_locus.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,18 +164,6 @@
"nullable": true,
"type": "integer"
},
{
"metadata": {},
"name": "pValueMantissaConditioned",
"nullable": true,
"type": "float"
},
{
"metadata": {},
"name": "pValueExponentConditioned",
"nullable": true,
"type": "integer"
},
{
"metadata": {},
"name": "beta",
Expand All @@ -188,18 +176,6 @@
"nullable": true,
"type": "double"
},
{
"metadata": {},
"name": "betaConditioned",
"nullable": true,
"type": "double"
},
{
"metadata": {},
"name": "standardErrorConditioned",
"nullable": true,
"type": "double"
},
{
"metadata": {},
"name": "r2Overall",
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def mock_study_locus_data(spark: SparkSession) -> DataFrame:
.withColumnSpec("finemappingMethod", percentNulls=0.1)
.withColumnSpec(
"locus",
expr='array(named_struct("is95CredibleSet", cast(rand() > 0.5 as boolean), "is99CredibleSet", cast(rand() > 0.5 as boolean), "logABF", rand(), "posteriorProbability", rand(), "variantId", cast(rand() as string), "beta", rand(), "standardError", rand(), "betaConditioned", rand(), "standardErrorConditioned", rand(), "r2Overall", rand(), "pValueMantissaConditioned", rand(), "pValueExponentConditioned", rand(), "pValueMantissa", rand(), "pValueExponent", rand()))',
expr='array(named_struct("is95CredibleSet", cast(rand() > 0.5 as boolean), "is99CredibleSet", cast(rand() > 0.5 as boolean), "logABF", rand(), "posteriorProbability", rand(), "variantId", cast(rand() as string), "beta", rand(), "standardError", rand(), "r2Overall", rand(), "pValueMantissa", rand(), "pValueExponent", rand()))',
percentNulls=0.1,
)
)
Expand Down

0 comments on commit e119770

Please sign in to comment.