Skip to content

Commit

Permalink
fix: foldX normalisation to cover full range (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
DSuveges authored Feb 5, 2025
1 parent 5e9638a commit 8622b5e
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 @@ -471,7 +471,7 @@ def _normalise_foldx(
Returns:
Column: Normalised energies
"""
return f.when(f.abs(score) >= 5, f.lit(1.0)).otherwise(
return f.when(f.abs(score) >= 2, f.lit(1.0)).otherwise(
cls._rescaleColumnValue(f.abs(score), 0.0, 2.0, 0.0, 1.00)
)

Expand Down

0 comments on commit 8622b5e

Please sign in to comment.