From 8c79443fc2f6bbef232dbae6c62409fc108bfcb4 Mon Sep 17 00:00:00 2001 From: Peter Fackeldey Date: Fri, 24 Nov 2023 14:39:48 +0100 Subject: [PATCH] fix fields of autostaterrors --- src/dilax/modifier.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dilax/modifier.py b/src/dilax/modifier.py index bfd4ad1..81c2f06 100644 --- a/src/dilax/modifier.py +++ b/src/dilax/modifier.py @@ -297,9 +297,9 @@ class Mode(eqx.Enumeration): sumw: dict[str, jax.Array] sumw2: dict[str, jax.Array] masks: dict[str, jax.Array] - threshold: float = 10.0 - mode: str = Mode.barlow_beeston_lite - key_template: str = "__staterror_{process}__" + threshold: float + mode: str = eqx.field(static=True) + key_template: str = eqx.field(static=True) def __init__( self,