Search found 62 matches

by RBJ
Mon Oct 23, 2017 5:05 am
Forum: MSWin
Topic: the Qt platform plugin
Replies: 20
Views: 50555

Re: the Qt platform plugin

Thanks very much, am on Teaching duties for a while now; will feedback when I have tried this!
BW R.
by RBJ
Tue Oct 17, 2017 4:41 am
Forum: MSWin
Topic: the Qt platform plugin
Replies: 20
Views: 50555

Re: the Qt platform plugin

Thanks!
by RBJ
Sun Oct 01, 2017 11:47 am
Forum: MSWin
Topic: the Qt platform plugin
Replies: 20
Views: 50555

Re: the Qt platform plugin

Output of sys.dir with the Bash window (Neuron all works well) ['', 'c:\\ProgramData\\Anaconda2', 'c:\\nrn\\ningw\\bin', 'c:\\ProgramData\\Anac onda2\\scripts', 'c:\\nrn\\lib\\python', 'c:\\ProgramData\\Anaconda2\\python27.z ip', 'c:\\ProgramData\\Anaconda2\\DLLs', 'c:\\ProgramData\\Anaconda2\\lib',...
by RBJ
Sun Oct 01, 2017 9:31 am
Forum: MSWin
Topic: the Qt platform plugin
Replies: 20
Views: 50555

Re: the Qt platform plugin

Ah! Not quite sure what this means, but reading your posts over and over, I just used bash to launch python RATHER than nrniv_python and now Qt is running. So I am sure this must mean something... and in fact if we can fix this it will fix a whole series of issues I was having with Neuron Python I d...
by RBJ
Sun Oct 01, 2017 9:09 am
Forum: MSWin
Topic: the Qt platform plugin
Replies: 20
Views: 50555

Re: the Qt platform plugin

Thank you very much. Firstly, the "unset PYTHONHOME" thing. Now I have rebooted and restarted, I get your expected bash responses. bash.exe"-3.1$ nrnpyenv.sh # PYTHONHOME exists. Do nothing Now when I run: echo $PYTHONHOME echo $NRN_PYLIB echo $PYTHONPATH I get: bash.exe"-3.1$ ec...
by RBJ
Sat Sep 30, 2017 11:16 am
Forum: MSWin
Topic: the Qt platform plugin
Replies: 20
Views: 50555

Re: the Qt platform plugin

OK, thanks it actually was an August release I think, but I went for re-install anyway. Naturally I can't run any of my scripts now, so I am making a very fresh start. The banner NOW is: NEURON -- VERSION 7.5 master (6b4c19f) 2017-09-25 Duke, Yale, and the BlueBrain Project -- Copyright 1984-2016 Se...
by RBJ
Sun Aug 27, 2017 3:22 am
Forum: MSWin
Topic: the Qt platform plugin
Replies: 20
Views: 50555

Re: the Qt platform plugin

If you start the bash terminal supplied by the NEURON 7.5 installation, and unset PYTHONHOME and then run nrnpyenv,sh it will print a number of environment variables needed for python to work when launching nrniv. In fact nrnpyenv.sh is automatically run when you start the bash terminal and exports...
by RBJ
Sun Aug 27, 2017 3:05 am
Forum: MSWin
Topic: the Qt platform plugin
Replies: 20
Views: 50555

Re: the Qt platform plugin

Are you able to import neuron from the regular Python prompt? If so, consider that as a work-around; i.e. launch your simulation through python instead of through NEURON. If not, that can be fixed by adjusting your PYTHONPATH and maybe NEURONHOME environment variables. No I'm sorry that doesn't wor...
by RBJ
Mon Aug 21, 2017 3:19 pm
Forum: MSWin
Topic: the Qt platform plugin
Replies: 20
Views: 50555

Re: the Qt platform plugin

Thanks, yes Matplotlib works fine through Python itself (Anaconda2), but exporting those environmental variables did not do the trick. Same error. I am thinking that somewhere among all my environmental variables there is probably a backslash where there should be a forward slash or visa versa? It's...
by RBJ
Wed Aug 16, 2017 5:36 pm
Forum: MSWin
Topic: the Qt platform plugin
Replies: 20
Views: 50555

Re: the Qt platform plugin

So this still doesn't work for me, but I see the

Code: Select all

def Section(name):
  h("create "+name)
  return h.__getattribute__(name)
"trick" illustrated on this very site serves as an alternative. Allowing full use of the Neuron GUI!
by RBJ
Sun Aug 13, 2017 3:21 pm
Forum: MSWin
Topic: the Qt platform plugin
Replies: 20
Views: 50555

the Qt platform plugin

Hello All, I have tended to work in HOC.... but am moving now to Python. I get this error: "This application failed to start because it could not find or load the Qt platform plugin "windows" in "". " ..when I try to run any script that includes from matplotlib import p...
by RBJ
Wed Sep 14, 2016 12:15 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Temperature dependence with the Channel Builder
Replies: 7
Views: 12342

Re: Temperature dependence with the Channel Builder

That works beautifully (modifying an existing xpanel with reference to ...the manual). It is superinteractive now.
Thank you very much
by RBJ
Thu Sep 08, 2016 1:31 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Channel Builder Ion Permeability Ratios
Replies: 13
Views: 13024

Re: Channel Builder Ion Permeability Ratios

Yes thank you. My "vtrp" comment/thought was a bit rash. Couldn't see the wood for the trees there. The Zip you uploaded works really well, has corrected this and a few other small errors I made and I am now adapting my code in line with these examples!
Thanks
R.
by RBJ
Wed Sep 07, 2016 6:45 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Channel Builder Ion Permeability Ratios
Replies: 13
Views: 13024

Re: Channel Builder Ion Permeability Ratios

Thank you so much for that Ted! I am downloading now and will thoroughly examine these examples later in the week when I get time. The temperature aspect is indeed key. As for the actual ion movements; GHK approach vs Ohmic with "Vtrp" as the reversal potential, I probably need to think ab...
by RBJ
Wed Sep 07, 2016 6:07 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Temperature dependence with the Channel Builder
Replies: 7
Views: 12342

Re: Temperature dependence with the Channel Builder

OK, got this one now I think. With slightly more careful reading of the documentation I see: These functions either execute code contained in an arbitrary, possibly generated-at-runtime string or load code from a file potentially chosen at runtime Therefore I have created a text file with the code f...