Skip to content

Commit

Permalink
remove kw argument from dataclass so compatible with python3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
yaseminbridges committed Nov 5, 2024
1 parent 1c12523 commit 2a89b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pheval/post_processing/post_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ class PhEvalVariantResult(PhEvalResult):
grouping_id: str = field(default=None)


@dataclass(kw_only=True)
@dataclass
class RankedPhEvalVariantResult(PhEvalVariantResult):
"""PhEval variant result with corresponding rank
Args:
rank (int): The rank for the result entry
"""

rank: int
rank: int = 0

@staticmethod
def from_variant_result(pheval_variant_result: PhEvalVariantResult, rank: int):
Expand Down

0 comments on commit 2a89b02

Please sign in to comment.