From 3ca4ef02e3579126d961298c272a00af4492a700 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 14:19:16 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/pylhe/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylhe/__init__.py b/src/pylhe/__init__.py index 8a25578a..6dc18c33 100644 --- a/src/pylhe/__init__.py +++ b/src/pylhe/__init__.py @@ -324,7 +324,7 @@ def read_lhe_with_attributes(filepath): eventdict["optional"].append(p.strip()) for sub in element: if sub.tag == "weights": - for i,w in enumerate(sub.text.split()): + for i, w in enumerate(sub.text.split()): if w: eventdict["weights"][i] = float(w) if sub.tag == "rwgt":