neurospaces 0.1675 Thu, 27 Dec 2007 15:58:18 -0600 hugo| 1. Commands for a single passive compartment created from the shell |
| 2. Commands to run the purkinje cell from an ndf file |
| 3. Running, checking, saving, loading and resetting a simulation |
| 1. Expected output | GENESIS 3 shell |
| 1. Executed command | create cell /c |
| 2. Expected output |
| 1. Executed command | create segment /c/s |
| 2. Expected output |
| 1. Executed command | model_parameter_add /c/s CM 0.0164 |
| 2. Expected output |
| 1. Executed command | model_parameter_add /c/s Vm_init -0.0680 |
| 2. Expected output |
| 1. Executed command | model_parameter_add /c/s RM 1.000 |
| 2. Expected output |
| 1. Executed command | model_parameter_add /c/s RA 2.50 |
| 2. Expected output |
| 1. Executed command | model_parameter_add /c/s ELEAK -0.080 |
| 2. Expected output |
| 1. Executed command | model_parameter_add /c/s DIA 2e-05 |
| 2. Expected output |
| 1. Executed command | model_parameter_add /c/s LENGTH 4.47e-05 |
| 2. Expected output |
| 1. Executed command | output_add /c/s Vm |
| 2. Expected output |
| 1. Executed command | check /c |
| 2. Expected output |
| 1. Executed command | run /c 0.001 |
| 2. Expected output |
| 1. Executed command | sh cat /tmp/output |
| 2. Expected output | 0.001 -0.0687098 |
| 3. Comment | only testing the last line of output |
| 1. Expected output | GENESIS 3 shell |
| 1. Executed command | ndf_load cells/purkinje/edsjb1994.ndf |
| 2. Expected output |
| 1. Executed command | check /Purkinje |
| 2. Expected output |
| 1. Executed command | run /Purkinje 0.001 |
| 2. Expected output |
| 1. Executed command | sh cat /tmp/output |
| 2. Expected output | 0.001 -0.0678441 |
| 3. Comment | only testing the last line of output |
| 1. Expected output | GENESIS 3 shell |
| 1. Executed command | ndf_load tests/cells/singlep.ndf |
| 2. Expected output |
| 1. Executed command | ssp_save /singlep /tmp/singlep.ssp |
| 2. Expected output |
| 1. Executed command | sh cat /tmp/singlep.ssp |
| 2. Expected output |
apply:
analyzers:
- method: analyze
initializers:
- method: compile
- method: instantiate_inputs
- method: instantiate_outputs
- method: connect
- method: initiate
- method: optimize
services:
- method: instantiate_services
simulation:
- arguments: &2
- 0
method: advance
- method: pause
history:
- arguments: []
method: instantiate_services
- arguments: []
method: compile
- arguments: []
method: instantiate_inputs
- arguments: []
method: instantiate_outputs
- arguments: []
method: connect
- arguments: []
method: initiate
- arguments: []
method: optimize
- arguments: []
method: analyze
- arguments: *2
method: advance
- arguments: []
method: pause
models:
- modelname: /singlep
solverclass: heccer
name: 'GENESIS3 SSP schedule initiated for /singlep, 0'
optimize: 'by default turned on, ignored when running in verbose mode'
outputclasses:
double_2_ascii:
module_name: Experiment
options: &3
filename: /tmp/output
format: ''
output_mode: ''
resolution: ''
package: Experiment::Output
ssp_outputclass: &4 !!perl/hash:SSP::Output
backend: !!perl/hash:Experiment::Output
backend: !!perl/hash:SwiggableExperiment::OutputGenerator {}
filename: /tmp/output
format: ''
module_name: Experiment
name: double_2_ascii
options: *3
output_mode: ''
package: Experiment::Output
resolution: ''
scheduler: *1
module_name: Experiment
name: double_2_ascii
options: *3
package: Experiment::Output
scheduler: *1
outputs:
- component_name: /singlep/segments/soma
field: Vm
outputclass: double_2_ascii
warn_only: the default output (/singlep/segments/soma) was generated automatically and is not always available
schedule:
- !!perl/hash:SSP::Engine
backend: !!perl/hash:Heccer
heccer: !!perl/hash:SwiggableHeccer::simobj_Heccer {}
model_source:
modelname: /singlep
service_backend: &5 !!perl/hash:Neurospaces
neurospaces: !!perl/hash:SwiggableNeurospaces::Neurospaces {}
service_name: model_container
compilation_priority: numerical
constructor_settings: &6
dStep: 2e-05
modelname: /singlep
module_name: Heccer
name: /singlep
scheduler: *1
service: &7
backend: *5
ssp_service: !!perl/hash:SSP::Service
backend: *5
scheduler: *1
service_name: model_container
solverclass: heccer
- *4
services:
model_container: *7
simulation_time:
steps: 0
time: 0
solverclasses:
heccer:
compilation_priority: numerical
constructor_settings: *6
module_name: Heccer
service_name: model_container
|
| 1. Executed command | ssp_load /singlep /tmp/singlep.ssp |
| 2. Expected output | |
| 3. This test is currently not executed | (disabled is 'ssp_load works, but "run /singlep 1" fails because Heccer is not initialized correctly (must be recompiled from the model)') |
| 1. Executed command | check /singlep |
| 2. Expected output |
| 1. Executed command | run /singlep 0.001 |
| 2. Expected output |
| 1. Executed command | sh wc -l /tmp/output |
| 2. Expected output | 50 /tmp/output |
| 3. Comment | note that the expected output is badly anchored, so the test can possibly succeed in circumstances were we would really like it to fail |
| 1. Executed command | sh cat /tmp/output |
| 2. Expected output | 0.001 -0.0687098 |
| 3. Comment | only testing the last line of output |
| 1. Executed command | check /singlep |
| 2. Expected output |
| 1. Executed command | reset /singlep |
| 2. Expected output |
| 1. Executed command | sh wc -l /tmp/output |
| 2. Expected output | 0 /tmp/output |
| 1. Executed command | run /singlep 0.001 |
| 2. Expected output |
| 1. Executed command | sh wc -l /tmp/output |
| 2. Expected output | 50 /tmp/output |
| 3. Comment | note that the expected output is badly anchored, so the test can possibly succeed in circumstances were we would really like it to fail |
| 1. Executed command | sh cat /tmp/output |
| 2. Expected output | 0.001 -0.0687098 |
| 3. Comment | only testing the last line of output |
| 1. Executed command | check /singlep |
| 2. Expected output |
| 1. Executed command | reset /singlep |
| 2. Expected output |
| 1. Executed command | sh wc -l /tmp/output |
| 2. Expected output | 0 /tmp/output |
| 3. Comment | note that the expected output is badly anchored, so the test can possibly succeed in circumstances were we would really like it to fail |