Nstack - stack too deep in python

When Python is the interpreter, what is a good
design for the interface to the basic NEURON
concepts.

Moderator: hines

Post Reply
gabrielggn
Posts: 10
Joined: Fri May 20, 2022 8:07 am

Nstack - stack too deep in python

Post by gabrielggn »

Dear NEURON team,

I am dealing with BBP cells from the 2015 study where they reconstructed a rodent cortical column. I got them from another study on modelDB where the original files are provided (see https://senselab.med.yale.edu/ModelDB/S ... del=241165).

I figured out how to use these models with hoc language & nrniv -Nstack option but I would like to try to use another template script I wrote in python.
Is there any way to deal with this option in python ?

I have found this post from the doc but It does not seem to work for me even if I have a 8.0 version: https://nrnalex.readthedocs.io/en/lates ... ables.html.

Best
gabrielggn
Posts: 10
Joined: Fri May 20, 2022 8:07 am

Re: Nstack - stack too deep in python

Post by gabrielggn »

For those interested by an answer to this issue , I found my way out in changing the default NSTACK and NFRAME via the config NEURON's file.
To do so you have to:

1. Going to "nrn/lib/nrn.default"
2. Search for NSTACK (ctrl +f )
3. On the corresponding line change the value to the desired one
ted
Site Admin
Posts: 6286
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Nstack - stack too deep in python

Post by ted »

Thanks for following up with your solution.
Post Reply