I just installed NEURON 8.0 on a fresh installation of Ubuntu 20, and am trying to run already existing code. While loading a morphology of a spiny projection neuron I get the following error which did not appear on my previous installation of Ubuntu and NEURON. I am wondering if I have omitted something during the installation.
Code: Select all
error ./morphology/MSN_morphology_D1.swc line 2192: could not parse: 3002 2 7 60 0 0.5 3001
NEURON: Arg out of range in user function
near line 0
^
Import3d_Section[0].Matrix(3, 0)
Import3d_Section[0].init(0, 0)
Import3d_SWC_read[0].mksection(0, 0, 0)
Import3d_SWC_read[0].mksections()
and others
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
~/Documents/PhD Studies/Work/Plasticity/Error Backprop/single_run.py in <module>
24 cell_ID = 70
25 variables = model_sets[cell_ID]['variables']
---> 26 cell = msn.MSN(variables = variables)
27
28 for d in p.input_dends:
~/Documents/PhD Studies/Work/Plasticity/Error Backprop/d1msn.py in __init__(self, variables)
21 class MSN(n.Neuron):
22 def __init__(self, variables = None):
---> 23 self.create_morphology()
24 self.insert_channels(variables)
25 self.esyn = []
~/Documents/PhD Studies/Work/Plasticity/Error Backprop/d1msn.py in create_morphology(self)
30 def create_morphology(self):
31 Import = h.Import3d_SWC_read()
---> 32 Import.input(morphology)
33 imprt = h.Import3d_GUI(Import, 0)
34 imprt.instantiate(None)
RuntimeError: hoc error
I have clipped the error output since it does not fit in a single post. It contains many more error messages of the type "could not parse" (such as the first line of the output).
Thanks!