NeuralEnsemble / PyNN

A Python package for simulator-independent specification of neuronal network models.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyNN 0.12 missing neuroml

Christian-B opened this issue · comments

File "/opt/hostedtoolcache/Python/3.11.5/x64/lib/python3.11/site-packages/pyNN/morphology.py", line 11, in
import neuroml.arraymorph
ModuleNotFoundError: No module named 'neuroml'

The requirement above is very restrictive on libNeuroML, and would break a number of other neuroml/pynn pipelines. Is this version required due to arraymorph functionality?

Conversation on this with @sanjayankur31 here: NeuralEnsemble/libNeuroML#111

Hi @pgleeson - the problem is with the PyTables dependency, which is very difficult to install on Mac OS for ARM processors (see PyTables/PyTables#832 and PyTables/PyTables#1050) (conda, Brew or MacPorts may work, but I'm trying to stick with just pip install)

If it's going to break other pipelines, I'll relax the requirement, but it would help if the tables dependency could be made optional for libNeuroML.

We at https://github.com/SpiNNakerManchester/sPyNNaker are not bother which version of libNeuroML.
as to the best of our knowledge none of our pipelines depend on it.

I am currently testing an uncapped libNeuroML but using ubuntu and that is passing all tests run so far.
(excluding an unrelated random error)

We would however be disappointed if the version selected makes installing PyNN and therefor sPyNNaker difficult on some platforms.

That's a fair point @Christian-B. I think I will make libNeuroML an optional dependency, since it is only needed for some features of the morphology module (and of course for the neuroml backend).

implemented in [533c7c9]

Released as version 0.12.1

Thank you 0.12.1 passes the Spynnaker integration tests which detected the original error