Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bfclarke committed Nov 10, 2024
1 parent 3fd01d2 commit 5e09bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deeprvat/deeprvat/associate.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def make_regenie_input_(
# 2. Offset/scale more intelligently to fill out [0, 1] better
# 3. (maybe) Allow for setting offset/scale as parameter
offset = 0.251
this_burdens = np.max(this_burdens - offset, 0)
this_burdens = np.maximum(this_burdens - offset, 0)

# REGENIE assumes by default genotypes are stored alt-first
genotypes = np.stack(
Expand Down

0 comments on commit 5e09bd5

Please sign in to comment.