openworm / CElegansNeuroML

NeuroML based C elegans model, contained in a neuroConstruct project, as well as c302
http://opensourcebrain.org/projects/celegans
134 stars 53 forks source link

Test running jnml on python3 #105

Closed pgleeson closed 6 years ago

pgleeson commented 6 years ago

I've made most of the required updates for python 3 on https://github.com/openworm/CElegansNeuroML/tree/ow-0.8_py3. However there's an issue with running jnml using pyneuroml:

python3 runAndPlot.py -iC   # Run IClamp on parameters C & plot result

works fine, but

python3 runAndPlot.py -socialC # Run social on parameters C

fails. @lungd have you tried your code on Python3? Could you have a look if you get a chance?

If this gets resolved it can be merged to branch ow-0.8 and then that (and the Docker config) should be fully python3 compatible.

pgleeson commented 6 years ago

This doesn't seem to be an issue as long as the Neuron version you're pointing to with NEURON_HOME has been compiled with Python3 (which was where the problems arose on my system).