Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 14, 2023
1 parent e9ee613 commit 3ca4ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pylhe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 3ca4ef0

Please sign in to comment.