Skip to content

Commit

Permalink
fix: update error in config.py (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Considine committed Apr 23, 2024
1 parent 82b8a7c commit b0c4530
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/gentropy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ class FinemapperConfig(StepConfig):
output_path: str = MISSING
locus_radius: int = MISSING
locus_l: int = MISSING
_target_: str = "gentropy.susie_finemapping.SusieFineMapperStep"
_target_: str = "gentropy.susie_finemapper.SusieFineMapperStep"


@dataclass
Expand Down
2 changes: 2 additions & 0 deletions src/gentropy/susie_finemapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import time
from typing import Any

import hail as hl
import numpy as np
import pandas as pd
import pyspark.sql.functions as f
Expand Down Expand Up @@ -49,6 +50,7 @@ def __init__(
locus_radius (int): Radius of base-pair window around the locus, default is 500_000
locus_l (int): Maximum number of causal variants in locus, default is 10
"""
hl.init(sc=session.spark.sparkContext, log="/dev/null")
# Read studyLocus
study_locus = (
StudyLocus.from_parquet(session, study_locus_collected_path)
Expand Down

0 comments on commit b0c4530

Please sign in to comment.