Skip to content

Commit

Permalink
Fix typo in brian_multi_comp_ca2_HH.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerkin committed Feb 20, 2020
1 parent 6cfe200 commit e0b2a97
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions neuronunit/models/backends/brian_multi_comp_ca2_HH.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,16 +320,16 @@ def get_spike_count(self,**run_params):
return len(threshold_detection(vm,threshold=-45.0*mV))
#model.add_attribute(init_backend)

model.init_backend = MethodType(init_backend,.model)
model.get_spike_count = MethodType(get_spike_count,self.model)
model.get_APs = MethodType(get_APs,model)
model.get_spike_train = MethodType(get_spike_train,model)
model.init_backend = MethodType(init_backend, model)
model.get_spike_count = MethodType(get_spike_count, model)
model.get_APs = MethodType(get_APs, model)
model.get_spike_train = MethodType(get_spike_train, model)
model.set_attrs = MethodType(set_attrs, model) # Bind to the score.
model.inject_square_current = MethodType(inject_square_current, model) # Bind to the score.
model.set_attrs = MethodType(set_attrs, model) # Bind to the score.
model.get_membrane_potential = MethodType(get_membrane_potential,model)
model.get_membrane_potential = MethodType(get_membrane_potential, model)
model.load_model = MethodType(load_model, model) # Bind to the score.
model._local_run = MethodType(_local_run,model)
model._local_run = MethodType(_local_run, model)
model.init_backend(model)

return model
Expand Down

0 comments on commit e0b2a97

Please sign in to comment.