diff --git a/python/example/single_cell_cable.py b/python/example/single_cell_cable.py index e1ee854bf..02da84643 100755 --- a/python/example/single_cell_cable.py +++ b/python/example/single_cell_cable.py @@ -10,7 +10,8 @@ class Cable(A.recipe): - def __init__(self, + def __init__( + self, probes, Vm, length, @@ -21,7 +22,8 @@ def __init__(self, stimulus_start, stimulus_duration, stimulus_amplitude, - cv_policy_max_extent): + cv_policy_max_extent, + ): """ probes -- list of probes diff --git a/python/example/single_cell_detailed_recipe.py b/python/example/single_cell_detailed_recipe.py index d76316627..b45f2076c 100644 --- a/python/example/single_cell_detailed_recipe.py +++ b/python/example/single_cell_detailed_recipe.py @@ -75,6 +75,7 @@ # (4) Create the cell cell = A.cable_cell(lmrf.morphology, decor, labels, cvp) + # (5) Create a class that inherits from A.recipe class single_recipe(A.recipe): # (5.1) Define the class constructor