diff --git a/examples/extra_models_examples/vogels_2011.py b/examples/extra_models_examples/vogels_2011.py index 0ecdbbe..877ba45 100644 --- a/examples/extra_models_examples/vogels_2011.py +++ b/examples/extra_models_examples/vogels_2011.py @@ -263,10 +263,8 @@ def run(self, slow_down_static, slow_down_plastic, extract_weights): if self.SAVE_ALL_CONNECTIVITY_IF_INSANE: projs = [plastic_ie_projection] - index = 0 - for proj in projs: + for index, proj in enumerate(projs): proj.save("all", f"projection{index}_data_plastic") - index += 1 # Get plastic spikes and save to disk static_in_spikes_numpy = None