Skip to content

Commit

Permalink
Python format
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Sep 24, 2024
1 parent c233d10 commit 90aacad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/example/single_cell_cable.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@


class Cable(A.recipe):
def __init__(self,
def __init__(
self,
probes,
Vm,
length,
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions python/example/single_cell_detailed_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90aacad

Please sign in to comment.