openworm / muscle_model

Model of C elegans body wall muscle based on Boyle & Cohen 2008
http://www.opensourcebrain.org/projects/muscle_model
Other
47 stars 24 forks source link

Muscle Model Explorer - Error while loading channel files #61

Closed shah-n closed 7 years ago

shah-n commented 7 years ago

For the muscle model explorer, I am receiving an error when loading channel files. The ca_boyle channel has an h gate without the time_course and steady_state attributes.

I copied the source code from the muscle model explorer IPython notebook (http://bit.ly/2c6GO2c) to a .py file. Afterwards, I ran the python file at the command prompt.

Attached is the source code and output.

muscle_model_explorer.txt

muscle_model_explorer_output.txt

pgleeson commented 7 years ago

Good point. The h gate in the ca channel is different, it uses a custom type which doesn't have a standard Hodgkin Huxley description involving timeCourse/steadyState, but instead is a function of [Ca2+].

I've updated the IPython notebook to reflect this.

shah-n commented 7 years ago

Error is now gone. Thank you for updating the IPython notebook.