Skip to content

Commit cbe7468

Browse files
make double quotes
1 parent 44c73e6 commit cbe7468

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/htmldoc/synapses/simulations_with_gap_junctions.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ possibility to create both connections with a single call to
1919
2020
import nest
2121
22-
a = nest.Create('hh_psc_alpha_gap')
23-
b = nest.Create('hh_psc_alpha_gap')
22+
a = nest.Create("hh_psc_alpha_gap")
23+
b = nest.Create("hh_psc_alpha_gap")
2424
gap_weight = 0.5
25-
syn_dict = {'synapse_model':'gap_junction', 'weight': gap_weight}
26-
conn_dict = {'rule': 'one_to_one', 'make_symmetric': True}
25+
syn_dict = {"synapse_model":"gap_junction", "weight": gap_weight}
26+
conn_dict = {"rule": "one_to_one", "make_symmetric": True}
2727
# Create gap junction between neurons a and b
2828
nest.Connect(a, b, conn_dict, syn_dict)
2929
3030
In this case the reverse connection is created internally. In order to
3131
prevent the creation of incomplete or non-symmetrical gap junctions the
3232
creation of gap junctions is restricted to
3333

34-
- ``one_to_one`` connections with ``'make_symmetric': True``
34+
- ``one_to_one`` connections with ``"make_symmetric": True``
3535
- ``all_to_all`` connections with equal source and target populations
3636
and default or scalar parameters
3737

@@ -56,7 +56,7 @@ level with e.g. the ``random`` module of the Python Standard Library:
5656
n_gap_junction = 3000
5757
5858
gap_weight = 0.5
59-
n = nest.Create('hh_psc_alpha_gap', n_neuron)
59+
n = nest.Create("hh_psc_alpha_gap", n_neuron)
6060
n_list = n.tolist()
6161
6262
random.seed(0)

0 commit comments

Comments
 (0)