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] = {