From 55fce7d2568c350ae713077dc52d484dff3f7c98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Sch=C3=B6nfeldt?= Date: Thu, 14 Dec 2023 13:55:01 +0100 Subject: [PATCH] Remove setter EnergySystem.nodes The setter is problably unused, and I do not see a test for it. As I do not see a use case, I propose to delete it. --- src/oemof/network/energy_system.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/oemof/network/energy_system.py b/src/oemof/network/energy_system.py index 2b213c5..995a6de 100644 --- a/src/oemof/network/energy_system.py +++ b/src/oemof/network/energy_system.py @@ -183,10 +183,6 @@ def node(self): def nodes(self): return self._nodes.values() - @nodes.setter - def nodes(self, value): - self._nodes = value - def flows(self): return { (source, target): source.outputs[target]