Package org.neuroml.export.netpyne
Class NetPyNEWriter
- java.lang.Object
-
- org.lemsml.export.base.ABaseWriter
-
- org.neuroml.export.base.ANeuroMLBaseWriter
-
- org.neuroml.export.netpyne.NetPyNEWriter
-
- All Implemented Interfaces:
IBaseWriter
public class NetPyNEWriter extends ANeuroMLBaseWriter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.neuroml.export.base.ANeuroMLBaseWriter
ANeuroMLBaseWriter.CompInfo
-
-
Field Summary
Fields Modifier and Type Field Description String
CELL_DEFINITION_SUFFIX
String
INPUT_DEFINITION_SUFFIX
-
Fields inherited from class org.neuroml.export.base.ANeuroMLBaseWriter
nmlDocument
-
Fields inherited from class org.lemsml.export.base.ABaseWriter
format, lems, sli
-
-
Constructor Summary
Constructors Constructor Description NetPyNEWriter(org.lemsml.jlems.core.type.Lems lems)
NetPyNEWriter(org.lemsml.jlems.core.type.Lems lems, File outputFolder, String outputFileName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addComment(StringBuilder sb, String comment)
List<File>
convert()
List<File>
generateAndRun(boolean nogui, boolean runNrn, int np, boolean json)
String
getMainScript()
boolean
isNoGui()
static void
main(String[] args)
void
setNoGui(boolean nogui)
void
setOutputFolder(File outputFolder)
void
setRegenerateNeuroMLNet(boolean regenerateNeuroMLNet)
void
setSupportedFeatures()
-
Methods inherited from class org.lemsml.export.base.ABaseWriter
getOutputFileName, getOutputFolder, setOutputFileName
-
-
-
-
Field Detail
-
CELL_DEFINITION_SUFFIX
public final String CELL_DEFINITION_SUFFIX
- See Also:
- Constant Field Values
-
INPUT_DEFINITION_SUFFIX
public final String INPUT_DEFINITION_SUFFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NetPyNEWriter
public NetPyNEWriter(org.lemsml.jlems.core.type.Lems lems) throws ModelFeatureSupportException, org.lemsml.jlems.core.sim.LEMSException, org.neuroml.model.util.NeuroMLException
- Throws:
ModelFeatureSupportException
org.lemsml.jlems.core.sim.LEMSException
org.neuroml.model.util.NeuroMLException
-
NetPyNEWriter
public NetPyNEWriter(org.lemsml.jlems.core.type.Lems lems, File outputFolder, String outputFileName) throws ModelFeatureSupportException, org.lemsml.jlems.core.sim.LEMSException, org.neuroml.model.util.NeuroMLException
- Throws:
ModelFeatureSupportException
org.lemsml.jlems.core.sim.LEMSException
org.neuroml.model.util.NeuroMLException
-
-
Method Detail
-
setOutputFolder
public void setOutputFolder(File outputFolder)
- Specified by:
setOutputFolder
in interfaceIBaseWriter
- Overrides:
setOutputFolder
in classABaseWriter
-
setRegenerateNeuroMLNet
public void setRegenerateNeuroMLNet(boolean regenerateNeuroMLNet)
-
setSupportedFeatures
public void setSupportedFeatures()
-
addComment
protected void addComment(StringBuilder sb, String comment)
- Specified by:
addComment
in classABaseWriter
-
setNoGui
public void setNoGui(boolean nogui)
-
isNoGui
public boolean isNoGui()
-
generateAndRun
public List<File> generateAndRun(boolean nogui, boolean runNrn, int np, boolean json) throws org.lemsml.jlems.core.sim.LEMSException, GenerationException, org.neuroml.model.util.NeuroMLException, IOException, ModelFeatureSupportException
- Throws:
org.lemsml.jlems.core.sim.LEMSException
GenerationException
org.neuroml.model.util.NeuroMLException
IOException
ModelFeatureSupportException
-
getMainScript
public String getMainScript() throws GenerationException, org.lemsml.jlems.core.sim.LEMSException, org.neuroml.model.util.NeuroMLException, IOException
- Throws:
GenerationException
org.lemsml.jlems.core.sim.LEMSException
org.neuroml.model.util.NeuroMLException
IOException
-
convert
public List<File> convert() throws GenerationException, IOException
- Throws:
GenerationException
IOException
-
-