<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Padraig.<br>
Thank your for comments. (I was using version 1.1.2)<br>
<br>
I just updated it with 1.2.0 and looking this pythonnC/ <br>
<br>
<br>
It is great. I see that I can load project, change it and save as
NeuroML. But what if my neurons was already saved in NeuroML. I do not
need to add them manually in the script.<br>
<br>
Can I add them to the project from NeuroML file. May be just load it
some how to the existing project and then save the modified project ?<br>
<br>
Does it make sense ? Do you have such Python script ?<br>
<br>
Then it would be easy to use Ex5_MultiSimGenerate.py to generate
NEURON simmulation script for the new project.<br>
<br>
Thanks again for your comments.<br>
<br>
Best Regards,<br>
<br>
<big><font color="#3333ff"><b>Vadim Astakhov
<br>
Data Integration Team Leader for
<br>
Biomedical Informatics Research Network
<br>
University of California San Diego
</b></font><br>
</big><br>
<br>
<br>
<br>
<blockquote cite="mid493F9FF0.6050609@ucl.ac.uk" type="cite">Hi,
<br>
<br>
The best solution is to use the scripting interface (based on Jython, a
Java based implementation of Python). The latest release (see previous
mail) has some updated examples of this. The most appropriate file is
pythonnC/Ex5_MultiSimGenerate.py, which can be run with nC.bat -python.
This runs multiple simulations changing a single parameter each time
(though any changes can be made to the project between runs). I can
send on a more detailed API for the commands which can be called in
scripts (basically the same structure as the corresponding Java
methods). The source code will be put online in the next few weeks when
I get a new SVN server set up and figure out about licences.
<br>
<br>
Regards,
<br>
Padraig
<br>
<br>
<br>
<br>
astakhov wrote:
<br>
<blockquote type="cite">Hello.
<br>
<br>
I am using neuroConstruct GUI to generate Neuron script for the
simmulation. It is a very nice tool.
<br>
<br>
But I should go through GUI dosen times when I do incremental
modification of some paramiters.
<br>
<br>
Is it possible to do "Export Network", NEURON ->"Generate code" and
"Create hoc simmulation" from command line ?
<br>
<br>
That would provide let us to automate the process of Neuron script
generation and save a lot of time
<br>
<br>
May be there is an API for neuroConstruct .jar (or source code)
available ?
<br>
<br>
I would very appreciate any advice.
<br>
<br>
Best regards,
<br>
<br>
Vadim Astakhov
<br>
<br>
Data Integration Team Leader for
<br>
<br>
Biomedical Informatics Research Network
<br>
<br>
<br>
University of California San Diego
<br>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>