From 49de359c2f0cd599a3fc7895eaa40cfdf95fa16c Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Thu, 25 Jan 2024 13:57:58 +0100 Subject: [PATCH] Drop comment suggestion --- src/pylhe/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pylhe/__init__.py b/src/pylhe/__init__.py index ac12ffea..5a5412e4 100644 --- a/src/pylhe/__init__.py +++ b/src/pylhe/__init__.py @@ -270,8 +270,6 @@ def read_lhe_init(filepath): try: wg_id = w.attrib["id"] except KeyError: - # Instead of raising an error, we could just use the index - # wg_id = index print("weight must have attribute 'id'") raise _temp["weights"][wg_id] = {