From 5e09bd5de09bc33c37478a4ef197a7dcb92dfb4d Mon Sep 17 00:00:00 2001 From: Brian Clarke <9725212+bfclarke@users.noreply.github.com> Date: Sun, 10 Nov 2024 17:43:56 +0100 Subject: [PATCH] bug fix --- deeprvat/deeprvat/associate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deeprvat/deeprvat/associate.py b/deeprvat/deeprvat/associate.py index 684f59e3..e9b073db 100644 --- a/deeprvat/deeprvat/associate.py +++ b/deeprvat/deeprvat/associate.py @@ -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(