We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c94f869 commit 9daf784Copy full SHA for 9daf784
src/pylhe/__init__.py
@@ -647,7 +647,7 @@ def _fromcontext(
647
err = "<event> block has no text."
648
raise ValueError(err)
649
650
- data = element.text.splitlines()
+ data = element.text.strip().split("\n")
651
eventdata_str, particles_str = data[0], data[1:]
652
particles_str = [p.strip() for p in particles_str]
653
0 commit comments