From 1289cd6f0cf20d6867e3fa9d0bf181747cebd5db Mon Sep 17 00:00:00 2001 From: Jan Kieseler Date: Mon, 9 Sep 2024 15:48:44 +0200 Subject: [PATCH] fixed file save --- bind/G4Calo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind/G4Calo.py b/bind/G4Calo.py index 9925618..4534b1d 100644 --- a/bind/G4Calo.py +++ b/bind/G4Calo.py @@ -214,7 +214,7 @@ def run_batch( assert (n_ex_non_zero==n_unique), f"only {n_unique} unique non-zero entries in total_dep_energy out of {n_ex_non_zero}" if len(filename): - df.to_pickle(filename) + alldf.to_pickle(filename) return alldf