Skip to content

Commit

Permalink
fix: making fold-x threshold less permissive
Browse files Browse the repository at this point in the history
  • Loading branch information
DSuveges authored Feb 5, 2025
1 parent 1938296 commit 785bca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gentropy/dataset/variant_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def _normalise_foldx(
Column: Normalised energies
"""
return f.when(f.abs(score) >= 5, f.lit(1.0)).otherwise(
cls._rescaleColumnValue(f.abs(score), 0.0, 5.0, 0.0, 1.00)
cls._rescaleColumnValue(f.abs(score), 0.0, 2.0, 0.0, 1.00)
)

@classmethod
Expand Down

0 comments on commit 785bca5

Please sign in to comment.