Skip to content

Commit

Permalink
removed unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
wthun committed Jun 27, 2024
1 parent 02132fd commit 25b059b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions snudda/neurons/neuron_modulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,9 @@ def _get_nodes(self, species, force_update=None):
)

def build_node_cache(self):

print(f"Build node cache {self.neuron.name} ({self.neuron.icell})", flush=True)
self.node_cache = {}

should_update = True
for species_name, species_data in self.species.items():
if species_name not in self.node_cache:
self.node_cache[species_name] = {}
Expand All @@ -177,7 +175,6 @@ def build_node_cache(self):
#all_nodes = species.nodes

all_nodes = self._get_nodes(species, force_update=None)
should_update=False

for node in all_nodes:
if node._sec._sec not in self.node_cache[species_name][region_name]:
Expand Down

0 comments on commit 25b059b

Please sign in to comment.