-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with importing cells #732
Comments
Hi @vvbragin @salvadord , would it be possible to get the hoc (or one of them) that is triggering the error reported? Thx |
Hi @ddelpiano, I used FSCell.hoc from the path shown on screenshot. I suppose it's taken from here https://github.com/Neurosim-lab/netpyne_workspace/blob/master/cells/FScell.hoc |
@ddelpiano and also, here's my note I did back when I was looking into this issue, hope it may be helpful: Also, there is the chance (just my intuition) that the root cause is that "mech already loaded" issue in NEURON, that pops up when mech was already loaded (e.g. during the start-up, among default mechs), and then during importing cell it tries to load it again. |
Hi @vvbragin , @SimaoBolota-MetaCell tried to reproduce this problem with the latest OSB (and also without OSB, in our sole netpyne development) but it seems to work properly.
Thanks in advance. |
Hi @ddelpiano , @SimaoBolota-MetaCell, I reproduced it today on https://netpyne.v2.opensourcebrain.org/ AttributeError Traceback (most recent call last) /opt/conda/lib/python3.7/site-packages/netpyne/specs/netParams.py in importCellParams(self=<netpyne.specs.netParams.NetParams object>, label='CellType0', fileName='/home/jovyan/netpyne/workspace/tutorials/cells/FScell.hoc', cellName='', conds={}, cellArgs={}, importSynMechs=False, somaAtOrigin=True, cellInstance=False) /opt/conda/lib/python3.7/site-packages/netpyne/conversion/neuronPyHoc.py in importCell(fileName='/home/jovyan/netpyne/workspace/tutorials/cells/FScell.hoc', cellName='', cellArgs={}, cellInstance=False) AttributeError: 'hoc.HocObject' object has no attribute '' |
https://groups.google.com/g/netpyne-forum/c/RiZu5yuEbpQ/m/NwZS40OqDgAJ?utm_medium=email&utm_source=footer
The text was updated successfully, but these errors were encountered: