1. Exploring the GENESIS 2 backward compatibility library |
2. Running a GENESIS 2 script |
3. Loading a model that is coded inside a GENESIS 2 script without running the simulation in the script |
1. Comment for this test definition | Likely this test needs to be reworked a little bit because some features of the backward compatibility module are still under development. |
1. Executed command | library_show sli |
2. Expected output | PurkM9_model |
1. Executed command | library_show sli PurkM9_model |
2. Expected output | - ACTIVE-main1.g - ACTIVE-soma1.g - CLIMB9.g - CLIMBSPINE9.g - CURRENT9.g - ISPINE9.g - PASSIVE9-current.g - PASSIVE9-current1.g - PASSIVE9-current2.g - Purk2M0.p - Purk2M0s.p - Purk2M0sA.p - Purk2M9.p - Purk2M9_main1.p - Purk2M9_soma.p - Purk2M9s.p - Purk2M9s1.p - Purk2M9s10.p - Purk2M9s14.p - Purk2M9s19.p - Purk2M9s2.p - Purk2M9s25.p - Purk2M9s29.p - Purk2M9s3.p - Purk2M9s37.p - Purk2M9s4.p - Purk2M9s44.p - Purk2M9s45.p - Purk2M9s6.p - Purk2M9s8b.p - Purk2M9sA.p - Purk_chan.g - Purk_chanload.g - Purk_chansave.g - Purk_cicomp.g - Purk_cicomp_passive.g - Purk_comp.g - Purk_const.g - Purk_icomp.g - Purk_spicomp.g - Purk_syn.g - SYNCHRONORM9.g - SYNCHROPASS9.g - VIVO.g - defaults.g - purkinje_simplifying.g - schedule.g |
1. Comment for this test definition | This test uses the original scripts of the Purkinje cell model |
2. Preparation needed before the commands below : | Create the results directory |
3. And repared afterwards using : | Remove the generated output files in the results directory |
1. Executed command | sli_run /usr/local/ns-sli/tests/scripts/PurkM9_model/CURRENT9.g |
2. Expected output |
1. Expected output | tests/scripts/PurkM9_model/Purk2M9.p read: 1600 compartments |
1. Executed command | printparameter /Purkinje TOTALVOLUME |
2. Expected output | value = 5.37774e-14 |
1. Executed command | printparameter /Purkinje TOTALSURFACE |
2. Expected output | value = 2.60908e-07 |
3. Comment | even without spines, this value is very different from the value in table 2 of the Rapp paper, this is due to shrinkage correction, yet there is an unexplained anomaly in the difference for surface and volume. This value changed from value = 2.61092e-07 to 2.60908e-07 after float to double accommodations in the model-container. |
1. Executed command | segmentcount /Purkinje |
2. Expected output | Number of segments : 1600 |
1. Executed command | quit |
2. Expected output |
1. Expected output | time = 0.500060 ; step = 25003 |
1. Executed command | sh ls -lastr |
2. Expected output | results |
1. Executed command | sh ls -lastr results |
2. Expected output | PurkM9 |
1. Executed command | quit |
2. Expected output |
1. Expected output | application_output_file: results/PurkM9_soma_1.5nA expected_output_file: /usr/local/ns-sli/tests/specifications/strings/PurkM9_soma_1.5nA.g3-double |
2. Comment | The output file is taken from the ns-sli installation. |
1. Comment for this test definition | This test uses the original scripts of the Purkinje cell model |
1. Executed command | sli_load /usr/local/ns-sli/tests/scripts/PurkM9_model/CURRENT9.g |
2. Expected output |
1. Expected output | tests/scripts/PurkM9_model/Purk2M9.p read: 1600 compartments |
1. Executed command | printparameter /Purkinje TOTALVOLUME |
2. Expected output | value = 5.37774e-14 |
1. Executed command | printparameter /Purkinje TOTALSURFACE |
2. Expected output | value = 2.60908e-07 |
3. Comment | even without spines, this value is very different from the value in table 2 of the Rapp paper, this is due to shrinkage correction, yet there is an unexplained anomaly in the difference for surface and volume. This value changed from value = 2.61092e-07 to 2.60908e-07 after float to double accommodations in the model-container. |
1. Executed command | segmentcount /Purkinje |
2. Expected output | Number of segments : 1600 |
1. Executed command | quit |
2. Expected output | |
3. Comment | without the wait command, the quit command is not executed, dont know why |
1. Expected output | time = 0.500060 ; step = 25003 |
2. This test is currently not executed | (disabled is 'the sli_load command prevents the simulation from being run') |
1. Executed command | quit |
2. Expected output | |
3. This test is currently not executed | (disabled is 'this test is here to make sure the output is flushed, but the test for the output is disabled.') |
1. Expected output | application_output_file: ./..//results/PurkM9_soma_1.5nA expected_output_file: /usr/local/ns-sli/tests/specifications/strings/PurkM9_soma_1.5nA.g3-double |
2. Comment | The output file is taken from the ns-sli installation. |
3. This test is currently not executed | (disabled is 'the sli_load command prevents the simulation from being run, so no output has been produced') |
1. Executed command | ndf_save /Purkinje/soma/NaF/** STDOUT |
2. Expected output | #!neurospacesparse // -*- NEUROSPACES -*- NEUROSPACES NDF IMPORT END IMPORT PRIVATE_MODELS END PRIVATE_MODELS PUBLIC_MODELS ALIAS "Purk_NaF" "NaF" BINDINGS INPUT ..->Vm, END BINDINGS PARAMETERS PARAMETER ( G_MAX = 74999.9 ), END PARAMETERS END ALIAS END PUBLIC_MODELS |
3. This test is currently not executed | (disabled is 'since I mapped ndf_save to library export mode, it now produces to verbose output, working on it') |
1. Executed command | xml_save /Purkinje/soma/NaF/** STDOUT |
2. Expected output | <import> </import> <private_models> </private_models> <public_models> <alias> <prototype>Purk_NaF</prototype> <name>NaF</name> <bindings> <input> <name>..->Vm</name> </input> </bindings> <parameters> <parameter> <name>G_MAX</name><value>74999.9</value> </parameter> </parameters> </alias> </public_models> |
3. This test is currently not executed | (disabled is 'since I mapped ndf_save to library export mode, it now produces to verbose output, working on it') |