diff --git a/multi-area-model.ipynb b/multi-area-model.ipynb index dda40ff7d5c8629a7093cc9065bc3e38f40362c8..6aa840e446d65682d8ad4aae3cf81404743bd6a9 100644 --- a/multi-area-model.ipynb +++ b/multi-area-model.ipynb @@ -121,14 +121,14 @@ }, { "ename": "SyntaxError", - "evalue": "invalid character in identifier (analysis.py, line 941)", + "evalue": "invalid syntax (analysis.py, line 943)", "output_type": "error", "traceback": [ "Traceback \u001b[0;36m(most recent call last)\u001b[0m:\n", "\u001b[0m File \u001b[1;32m/srv/main-spack-instance-2305/spack/var/spack/environments/ebrains-23-06/.spack-env/view/lib/python3.8/site-packages/IPython/core/interactiveshell.py:3378\u001b[0m in \u001b[1;35mrun_code\u001b[0m\n exec(code_obj, self.user_global_ns, self.user_ns)\u001b[0m\n", "\u001b[0m Cell \u001b[1;32mIn [2], line 12\u001b[0m\n from multiarea_model import MultiAreaModel\u001b[0m\n", "\u001b[0;36m File \u001b[0;32m~/MAM2EBRAINS/multiarea_model/__init__.py:2\u001b[0;36m\n\u001b[0;31m from .analysis import Analysis\u001b[0;36m\n", - "\u001b[0;36m File \u001b[0;32m~/MAM2EBRAINS/multiarea_model/analysis.py:941\u001b[0;36m\u001b[0m\n\u001b[0;31m ax.set_yticklabels(list(reversed(self.network.structure['V1']))\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m invalid character in identifier\n" + "\u001b[0;36m File \u001b[0;32m~/MAM2EBRAINS/multiarea_model/analysis.py:943\u001b[0;36m\u001b[0m\n\u001b[0;31m ax.set_ylabel('Population', size=18)\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m invalid syntax\n" ] } ], diff --git a/multiarea_model/.ipynb_checkpoints/analysis-checkpoint.py b/multiarea_model/.ipynb_checkpoints/analysis-checkpoint.py index fc44f84f98a47f5bb7e390c8a9fe2694061f2e43..443e5b645520215d9cffa52bb14742746147ff0c 100644 --- a/multiarea_model/.ipynb_checkpoints/analysis-checkpoint.py +++ b/multiarea_model/.ipynb_checkpoints/analysis-checkpoint.py @@ -938,7 +938,7 @@ class Analysis: ax.set_yticks(y_index) # self.network has no attribute structure_reversed # ax.set_yticklabels(self.network.structure_reversed['V1']) - ax.set_yticklabels(list(reversed(self.network.structure['V1'])) + ax.set_yticklabels(list(reversed(self.network.structure['V1']))) # ax.set_yticklabels(self.network.structure['V1']) ax.set_ylabel('Population', size=18) ax.set_xlabel('Area index', size=18) diff --git a/multiarea_model/analysis.py b/multiarea_model/analysis.py index fc44f84f98a47f5bb7e390c8a9fe2694061f2e43..443e5b645520215d9cffa52bb14742746147ff0c 100644 --- a/multiarea_model/analysis.py +++ b/multiarea_model/analysis.py @@ -938,7 +938,7 @@ class Analysis: ax.set_yticks(y_index) # self.network has no attribute structure_reversed # ax.set_yticklabels(self.network.structure_reversed['V1']) - ax.set_yticklabels(list(reversed(self.network.structure['V1'])) + ax.set_yticklabels(list(reversed(self.network.structure['V1']))) # ax.set_yticklabels(self.network.structure['V1']) ax.set_ylabel('Population', size=18) ax.set_xlabel('Area index', size=18)