OpenSourceBrain / BlueBrainProjectShowcase

A project to illustrate how models and data from the Blue Brain Project can be converted to NeuroML and PyNN
http://opensourcebrain.org/projects/blue-brain-project-showcase
Other
23 stars 16 forks source link

'NeuroMLDocument' object has no attribute 'ion_channel_hhs' #1

Closed rgerkin closed 9 years ago

rgerkin commented 9 years ago

When I do:

python $OPENWORM_HOME/BlueBrainProjectShowcase/Channelpedia/NML2ChannelAnalyse.py -temperature 34   -minV -55  -maxV 80  -duration 600  -clampBaseVoltage -55  -clampDuration 580  -stepTargetVoltage 10  -erev -55  k_fast.channel.nml k_fast

with this k_fast.channel.nml, I get this error:

Traceback (most recent call last):
  File "/Users/rgerkin/Dropbox/dev/BlueBrainProjectShowcase/Channelpedia/NML2ChannelAnalyse.py", line 226, in <module>
    main()
  File "/Users/rgerkin/Dropbox/dev/BlueBrainProjectShowcase/Channelpedia/NML2ChannelAnalyse.py", line 191, in main
    for c in doc.ion_channel_hhs: 
AttributeError: 'NeuroMLDocument' object has no attribute 'ion_channel_hhs'

Inspection of the doc object shows only an 'ion_channels' attribute. Are 'ion_channels_hhs' and 'ion_channel' deprecated in favor of 'ion_channels' or am I missing something?

pgleeson commented 9 years ago

Are you using the latest development branch of libNeuroML?

rgerkin commented 9 years ago

I think I installed to development branch to my Python 3 site-packages and still had an old one in my Python 2 site-packages.