openworm / CElegansNeuroML

NeuroML based C elegans model, contained in a neuroConstruct project, as well as c302
http://opensourcebrain.org/projects/celegans
134 stars 53 forks source link

Executing c302.py with -cells (or other list arguments) - missing parsing #77

Closed lungd closed 7 years ago

lungd commented 7 years ago

With python c302.py TESTNET parameters_C1 -cells ["AVAL","VA10"] -cellstostimulate ["AVAL"] -datareader SpreadsheetDataReader -duration 500 a .nml file gets generated with 'VA1' inside it. At line https://github.com/openworm/CElegansNeuroML/blob/master/CElegans/pythonScripts/c302/c302.py#L512 'cells' is of type 'str' but it should be of type 'list'. This argument and other list arguments need to be parsed.