From 89e09dcc4a8f94a28454082d6ef191eea46bdebf Mon Sep 17 00:00:00 2001
From: Brent Huisman <brenthuisman@users.noreply.github.com>
Date: Tue, 5 Jan 2021 15:46:54 +0100
Subject: [PATCH] Python API: neuron_cable_propetries->neuron_cable_properties
 (#1294)

---
 python/cells.cpp                               | 2 +-
 python/example/network_ring.py                 | 2 +-
 python/example/single_cell_recipe.py           | 2 +-
 python/test/unit/test_cable_probes.py          | 2 +-
 python/test/unit/test_simulator.py             | 2 +-
 python/test/unit_distributed/test_simulator.py | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/python/cells.cpp b/python/cells.cpp
index 69b691f1..bc9d1546 100644
--- a/python/cells.cpp
+++ b/python/cells.cpp
@@ -482,7 +482,7 @@ void register_cells(pybind11::module& m) {
             "Register the pointer to the mechanism catalogue in the global properties")
         .def("__str__", [](const arb::cable_cell_global_properties& p){return to_string(p);});
 
-    m.def("neuron_cable_propetries", []() {
+    m.def("neuron_cable_properties", []() {
         arb::cable_cell_global_properties prop;
         prop.default_parameters = arb::neuron_parameter_defaults;
         return prop;
diff --git a/python/example/network_ring.py b/python/example/network_ring.py
index 1fb552ad..7038c3b5 100755
--- a/python/example/network_ring.py
+++ b/python/example/network_ring.py
@@ -62,7 +62,7 @@ class ring_recipe (arbor.recipe):
         # all memory in the C++ class is initialized correctly.
         arbor.recipe.__init__(self)
         self.ncells = n
-        self.props = arbor.neuron_cable_propetries()
+        self.props = arbor.neuron_cable_properties()
         self.cat = arbor.default_catalogue()
         self.props.register(self.cat)
 
diff --git a/python/example/single_cell_recipe.py b/python/example/single_cell_recipe.py
index 76af62c5..f910afa2 100644
--- a/python/example/single_cell_recipe.py
+++ b/python/example/single_cell_recipe.py
@@ -12,7 +12,7 @@ class single_recipe (arbor.recipe):
         arbor.recipe.__init__(self)
         self.the_cell = cell
         self.the_probes = probes
-        self.the_props = arbor.neuron_cable_propetries()
+        self.the_props = arbor.neuron_cable_properties()
         self.the_cat = arbor.default_catalogue()
         self.the_props.register(self.the_cat)
 
diff --git a/python/test/unit/test_cable_probes.py b/python/test/unit/test_cable_probes.py
index 27524179..7d8c663d 100644
--- a/python/test/unit/test_cable_probes.py
+++ b/python/test/unit/test_cable_probes.py
@@ -34,7 +34,7 @@ class cc_recipe(A.recipe):
         self.cell = A.cable_cell(st, A.label_dict(), dec)
 
         self.cat = A.default_catalogue()
-        self.props = A.neuron_cable_propetries()
+        self.props = A.neuron_cable_properties()
         self.props.register(self.cat)
 
     def num_cells(self):
diff --git a/python/test/unit/test_simulator.py b/python/test/unit/test_simulator.py
index d25c371d..a1380641 100644
--- a/python/test/unit/test_simulator.py
+++ b/python/test/unit/test_simulator.py
@@ -30,7 +30,7 @@ class cc2_recipe(A.recipe):
         st.append(i, (1, -4, 0, 3), 1)
         self.the_morphology = A.morphology(st)
         self.the_cat = A.default_catalogue()
-        self.the_props = A.neuron_cable_propetries()
+        self.the_props = A.neuron_cable_properties()
         self.the_props.register(self.the_cat)
 
     def num_cells(self):
diff --git a/python/test/unit_distributed/test_simulator.py b/python/test/unit_distributed/test_simulator.py
index 8ca179a2..abc477c5 100644
--- a/python/test/unit_distributed/test_simulator.py
+++ b/python/test/unit_distributed/test_simulator.py
@@ -26,7 +26,7 @@ class lifN_recipe(A.recipe):
         A.recipe.__init__(self)
         self.n_cell = n_cell
         self.cat = A.default_catalogue()
-        self.props = A.neuron_cable_propetries()
+        self.props = A.neuron_cable_properties()
         self.props.register(self.cat)
     def num_cells(self):
         return self.n_cell
-- 
GitLab