Main Neurospaces logo neurospaces 0.1675 Thu, 27 Dec 2007 15:58:18 -0600 hugo

Index of group ./specifications/creating_elements


Index
Up

creating and deleting elements

1. Commands for creating a model

1. Commands for creating a model

Startup command : bin/genesis-g3

(No model has been loaded for the following set of commands.)

1.1. Is startup successful ?

1. Expected output
GENESIS 3 shell

1.2. Can we create a cell ?

1. Executed command
create cell /c
2. Expected output

1.3. Can we create a segment ?

1. Executed command
create segment /c/s
2. Expected output

1.4. Can we create a channel in the segment ?

1. Executed command
create channel /c/s/na
2. Expected output

1.5. Can we find the channel in the segment ?

1. Executed command
querymachine expand /**
2. Expected output

- /c
- /c/s
- /c/s/na

1.6. Can we create a second channel in the segment ?

1. Executed command
create channel /c/s/k
2. Expected output

1.7. Can we delete the first channel from the segment ?

1. Executed command
delete /c/s/na
2. Expected output

3. This test is currently not executed
(disabled is 'the model-container was not configured to include the delete operation')

1.8. Can we find the first channel in the segment (should not) ?

1. Executed command
querymachine expand /**
2. Expected output

- /c
- /c/s
- /c/s/k
3. This test is currently not executed
(disabled is 'the model-container was not configured to include the delete operation')

1.9. Can we find the second channel in the segment ?

1. Executed command
querymachine expand /**
2. Expected output

- /c
- /c/s
- /c/s/k
3. This test is currently not executed
(disabled is 'the model-container was not configured to include the delete operation')

1.10. Can we delete the segment and its remaining channel?

1. Executed command
delete /c/s
2. Expected output

3. This test is currently not executed
(disabled is 'the model-container was not configured to include the delete operation')

1.11. Has the segment been removed ?

1. Executed command
querymachine expand /**
2. Expected output
/c
(?!/c/s).
3. Comment
Note that for some reason this test always succeeds, likely a problem with the regular expression of the test.
4. This test is currently not executed
(disabled is 'the model-container was not configured to include the delete operation')

1.12. Can we create a new segment ?

1. Executed command
create segment /c/s
2. Expected output

1.13. Can we find the second channel in the segment ?

1. Executed command
querymachine expand /**
2. Expected output

- /c
- /c/s

1.14. Can we set parameter CM of the segment ?

1. Executed command
model_parameter_add /c/s CM 0.0164
2. Expected output

1.15. Can we find the parameters of the segment ?

1. Executed command
querymachine printinfo /c/s
2. Expected output
    Name, index (s,-1)
    Type (T_sym_segment)
    segmenName, index (s,-1)
        PARA  Name (CM)
        PARA  Type (TYPE_PARA_NUMBER), Value(1.640000e-02)

1.16. Can we obtain the value of the CM parameter of the segment ?

1. Executed command
parameter_show /c/s CM
2. Expected output
value = 0.0164

1.17. Can we set the surface of the segment ?

1. Executed command
model_parameter_add /c/s SURFACE 2
2. Expected output

1.18. Can we obtain the scaled value of the CM parameter of the segment ?

1. Executed command
parameter_scaled_show /c/s CM
2. Expected output
scaled value = 0.0328

1.19. Can we set parameter RM of the segment ?

1. Executed command
model_parameter_add /c/s RM 1.0
2. Expected output

1.20. Can we set parameter RA of the segment ?

1. Executed command
model_parameter_add /c/s RA 2.5
2. Expected output

1.21. Can we obtain the value of the parameters of the segment ?

1. Executed command
model_parameter_show /c/s
2. Expected output
  -
    'parameter name': RA
    type: number
    value: 2.5
  -
    'parameter name': RM
    type: number
    value: 1
  -
    'parameter name': SURFACE
    type: number
    value: 2
  -
    'parameter name': CM
    type: number
    value: 0.0164