From cb7c993476a2cb5feb2391597757e9ab7ee2a701 Mon Sep 17 00:00:00 2001 From: rathoddhiraj310-sketch Date: Fri, 30 Jan 2026 14:08:42 +0530 Subject: [PATCH] fix: remove unreachable elif branch in run_lems_with_eden The elif block checking 'load_saved_data' was unreachable because the if statement above it checks the exact same condition. This removes the dead code to clean up the logic. --- pyneuroml/runners.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyneuroml/runners.py b/pyneuroml/runners.py index 185394d5..084a14c1 100644 --- a/pyneuroml/runners.py +++ b/pyneuroml/runners.py @@ -661,8 +661,6 @@ def run_lems_with_eden( if load_saved_data: logger.warning("Event saving is not yet supported in EDEN!!") return results, {} - elif load_saved_data: - return results else: return True