Closed sheiksadique closed 11 years ago
I do not get this error on my system, and the github code shows that the AddrGroup class has the function _get_dtype.
Are you sure you updated your software installation ? Try deleting the pyNCS folder from where you were installing and clone it fresh.
$ git clone https://github.com/inincs/pyNCS.git
The next time you want to update pyNCS you need to go to the pyNCS folder and do git pull equivalent to svn update
$ git pull
Let me know if that doesnt still fix your problem.
I can confirm that it works fine now. Thanks!
Related to commit #ffeacba
(Submitted by @aamirsyed )
After the above fix, I just retried the same piece of code - and as it seems, it crashes with another similar error in population.py (pasting partial log once again):
/homes/saamir/.local/lib/python2.7/site-packages/pyNCS/population.pyc in soma2syn(self, addresses, synapses) 306 #return _sort_by_logical(saddrout) 307 somaaddr = addresses --> 308 dtp = AddrGroup._get_dtype(AddrGroup('',''), self.setup, 309 self.soma.chipid, 'in') 310 syn_dim_names = None
AttributeError: type object 'AddrGroup' has no attribute '_get_dtype'