Search found 22 matches

by RobinDS
Wed Jan 29, 2020 7:31 pm
Forum: NEURON + Python
Topic: Rset or reboot neuron without exist in python
Replies: 6
Views: 1600

Re: Rset or reboot neuron without exist in python

Quick question, it doesn't seem to remove Sections? Isn't there a method to truly really reload the NEURON module as if it was freshly imported? Would you recommend importlib's reload?
by RobinDS
Wed Jan 29, 2020 6:37 pm
Forum: NEURON + Python
Topic: Rset or reboot neuron without exist in python
Replies: 6
Views: 1600

Re: Rset or reboot neuron without exist in python

What would be the steps to check mod whether mod files have a correct INITIAL block? Could you provide some steps like this? * Scan over the entire mod file and look for all "state variables" (lines starting with _____ inside of a _____ block) * Make sure that every "state variable" is ______ in the...
by RobinDS
Mon Jan 27, 2020 6:23 pm
Forum: NEURON + Python
Topic: Rset or reboot neuron without exist in python
Replies: 6
Views: 1600

Re: Rset or reboot neuron without exist in python

So is there a method to fully reset the simulator?
by RobinDS
Sun Nov 24, 2019 8:41 am
Forum: Getting started
Topic: How to reconstruct the 3D points of a morphology imported by Import3D
Replies: 7
Views: 972

Re: How to reconstruct the 3D points of a morphology imported by Import3D

ted wrote:
Fri Nov 22, 2019 9:10 pm
Please rephrase the question. I don't quite know what you're asking.
Is a child section's 0 end xyz always the same as its parent's 1 end xyz?
by RobinDS
Sat Nov 23, 2019 7:12 pm
Forum: Other questions
Topic: Could neuron be installed on Windows/MacOS through the command line?
Replies: 2
Views: 529

Could neuron be installed on Windows/MacOS through the command line?

Is there a possibility to install NEURON in a Windows/MacOS environment that doesn't have a GUI? Specifically Travis CI.
by RobinDS
Sat Nov 23, 2019 3:43 am
Forum: SimAgent
Topic: NeuroVM
Replies: 4
Views: 2859

Re: NeuroVM

Looks good! Thanks for this
by RobinDS
Fri Nov 22, 2019 4:31 pm
Forum: Other tools
Topic: Introducing Glia & Astrocyte: A NEURON package manager
Replies: 1
Views: 713

Re: Introducing Glia & Astrocyte: A NEURON package manager

Roadmap:

[X] Setting name conflict preferences using `glia select` and `glia.select`
[ ] Local mod file management
[ ] A hosted Glia package index
by RobinDS
Fri Nov 22, 2019 4:01 pm
Forum: Getting started
Topic: How to reconstruct the 3D points of a morphology imported by Import3D
Replies: 7
Views: 972

Re: How to reconstruct the 3D points of a morphology imported by Import3D

Ok, so I can safely assume that Neuron always connects sections end-to-end? What exactly does that x value represent then?
by RobinDS
Fri Nov 22, 2019 3:37 pm
Forum: NEURON + Python
Topic: Is it possible to run nrnivmodl from python?
Replies: 4
Views: 1125

Re: Is it possible to run nrnivmodl from python?

Any specific reasons why nrnivmodl would not work after running the standard Windows installer?
by RobinDS
Fri Nov 22, 2019 2:44 pm
Forum: SimAgent
Topic: NeuroVM
Replies: 4
Views: 2859

Re: NeuroVM

Will there be anyone maintaining this with new versions?
by RobinDS
Fri Nov 22, 2019 1:54 pm
Forum: Other tools
Topic: Introducing Glia & Astrocyte: A NEURON package manager
Replies: 1
Views: 713

Introducing Glia & Astrocyte: A NEURON package manager

Hi! I'd like to proudly present the very first version of Glia: a package manager for NEURON. Glia Get it with: pip install nrn-glia It allows you to install package with either pip install <package-name> or glia install <package-name> and will automatically discover and compile the mod files within...
by RobinDS
Fri Nov 22, 2019 10:32 am
Forum: NEURON + Python
Topic: Is it possible to run nrnivmodl from python?
Replies: 4
Views: 1125

Re: Is it possible to run nrnivmodl from python?

Sorry for the stream of consciousness. If anyone is interested in having Python compile their mod files. Here's how I did it for windows: nrn_path = os.getenv('NEURONHOME') os.chdir(neuron_mod_path) cyg_path = nrn_path.replace(":\\","\\").replace("\\","/") process = subprocess.Popen([ os.path.join(n...
by RobinDS
Fri Nov 22, 2019 10:06 am
Forum: NEURON + Python
Topic: Is it possible to run nrnivmodl from python?
Replies: 4
Views: 1125

Re: Is it possible to run nrnivmodl from python?

These have been my shell attempts just to get a proof of concept going on my computer (hence the hardcoded directories) Using nrniv.exe process = subprocess.Popen(["C:\\nrn\\bin\\nrniv.exe", "-nopython", "c:/nrn/lib/hoc/mknrndll.hoc", neuron_mod_path], stdin=subprocess.PIPE, stdout=subprocess.PIPE, ...
by RobinDS
Fri Nov 22, 2019 9:38 am
Forum: NEURON + Python
Topic: Is it possible to run nrnivmodl from python?
Replies: 4
Views: 1125

Is it possible to run nrnivmodl from python?

I'm making a package manager for NEURON called Glia, have a look here https://pypi.org/project/nrn-glia/. I'd like a platform independent way of compiling a set of folders, similar to how `nrnivmodl folder1 folder2 folder3` would work. Can I somehow import this from the neuron package and run in the...
by RobinDS
Thu Nov 21, 2019 11:30 am
Forum: NEURON hacks
Topic: NMODL file in different folder
Replies: 9
Views: 3096

Re: NMODL file in different folder

These are software deployment basics, but thanks for the heads up. libnrnmech.so inside of the hidden .libs folder does the trick