Hi,
Using NEURON -- Release 7.0 (281:80827e3cd201) 2009-01-16
on Ubuntu 8.10 and 9.04
1) start nrngui
2) Build->Cell builder
3) The check boxes are not checkable including Cont Create.
4) Attempt to click on the check boxes 2-3 times cause the system hang.
but If I do the following
1) start nrngui
2) At oc> prompt enter the following
objectvar ocbox__
{
load_file("celbild.hoc", "CellBuild")
}
{ocbox_ = new CellBuild(1)}
{
ocbox_.map("CellBuild[0]", 117, 494, 788.16, 358.08)
}
(from your program)
then Cell builder comes up and the everything including check boxes are fine.
thanks, joby
Cellbuilder hangs the system
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Cellbuilder hangs the system
Did you install with the rpm or did you get the gzipped tar files and compile the source code?
Does neurondemo work?
Does neurondemo work?
Re: Cellbuilder hangs the system
Hi Ted,
I initially tried the compile and install. Same issue. Then I installed the rpm version. Same issue.
So I guess it is mismatch with my system configuration. What I find puzzling it that why only
invoking Cellbuilder from the GUI have the issue?
thanks, joby
I initially tried the compile and install. Same issue. Then I installed the rpm version. Same issue.
So I guess it is mismatch with my system configuration. What I find puzzling it that why only
invoking Cellbuilder from the GUI have the issue?
thanks, joby
Re: Cellbuilder hangs the system
Neurondemo works.
Re: Cellbuilder hangs the system
Hi
At the oc> prompt if I use
{ocbox_ = new CellBuild()}
instead of
{ocbox_ = new CellBuild(1)}
I have the same issue.
I find that
nrn70/share/lib/hoc/celbild.hoc
uses the first format as given below
objref tobj
proc makecellbuilder() {
tobj = new CellBuild()
objref tobj
}
Any clues. I am totaly unfamiliar with hoc and Neuron.
thanks, joby
At the oc> prompt if I use
{ocbox_ = new CellBuild()}
instead of
{ocbox_ = new CellBuild(1)}
I have the same issue.
I find that
nrn70/share/lib/hoc/celbild.hoc
uses the first format as given below
objref tobj
proc makecellbuilder() {
tobj = new CellBuild()
objref tobj
}
Any clues. I am totaly unfamiliar with hoc and Neuron.
thanks, joby
Re: Cellbuilder hangs the system. Solution?
Hi,
I modified part of my nrn/share/nrn/lib/hoc/celbild.hoc
to the following and it seems work so far without hanging..
objref tobj
proc makecellbuilder() {
tobj = new CellBuild(1)
tobj.map("CellBuild[0]", 117, 194, 788.16, 358.08)
objref tobj
}
I am sure this is a kludge. What is the real reason?
thanks, joby
I modified part of my nrn/share/nrn/lib/hoc/celbild.hoc
to the following and it seems work so far without hanging..
objref tobj
proc makecellbuilder() {
tobj = new CellBuild(1)
tobj.map("CellBuild[0]", 117, 194, 788.16, 358.08)
objref tobj
}
I am sure this is a kludge. What is the real reason?
thanks, joby
Re: Cellbuilder hangs the system
Please go back to the original version before your change and edit
nrn/share/lib/hoc/celbild/celbild1.hoc and replace the fragment in the
proc init()
that reads:
with
If that works, let us know and I'll make the change also.
I continue to be uncertain of the reason for the problem.
nrn/share/lib/hoc/celbild/celbild1.hoc and replace the fragment in the
proc init()
that reads:
Code: Select all
if (numarg() == 0) {
sprint(tstr,"%s", this)
vbox.map(tstr)
}
Code: Select all
if (numarg() == 0) {
map()
}
I continue to be uncertain of the reason for the problem.
Re: Cellbuilder hangs the system
Hi,
I checked it out and it does not solve the problem :(.
Does CellBuild use the argument 1 anywhere?!
joby
I checked it out and it does not solve the problem :(.
Does CellBuild use the argument 1 anywhere?!
joby