From 339e669516a303757b9083518f5f7776a83ae725 Mon Sep 17 00:00:00 2001 From: Nicolas Tessore Date: Mon, 4 Dec 2023 20:09:00 +0000 Subject: [PATCH] fix spectra kwargs for multiple files --- heracles/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/heracles/cli.py b/heracles/cli.py index 8ca5e8c..515ae9e 100644 --- a/heracles/cli.py +++ b/heracles/cli.py @@ -550,6 +550,7 @@ def spectra( repr(label) if label is not None else "all", ) # TODO some kwargs are not really kwargs yet + kwargs = kwargs.copy() debias = kwargs.pop("debias", True) bins = kwargs.pop("bins", None) weights = kwargs.pop("weights", None)