MartinPyka / Parametric-Anatomical-Modeling

Parametric Anatomical Modeling is a method to translate large-scale anatomical data into spiking neural networks. PAM is implemented as a Blender addon.
GNU General Public License v2.0
11 stars 6 forks source link

[parallelization] Problem when saving #15

Closed MartinPyka closed 9 years ago

MartinPyka commented 9 years ago

when I tried to save a network configuration, the following error occured

File "Programs/blender-2.74-linux-glibc211-i686/2.74/scripts/addons/pam/model.py", line 157, in save pickle.dump(snapshot, open(path, "wb")) _pickle.PicklingError: Can't pickle <class 'Vector'>: attribute lookup Vector on builtins failed

pherbers commented 9 years ago

Fixed in 099cd6fcf7b6b0b31eacf9fbdb9898aa1bda4d5a. When the model had connection errors during computation, the model could not be saved as there was no vector for the synapse, causing the conversion from vector to numpy array to fail when saving.