From 2d3426500d359be8717f55a4e3a11671fbbcdb43 Mon Sep 17 00:00:00 2001
From: Brent Huisman <brenthuisman@users.noreply.github.com>
Date: Thu, 1 Oct 2020 14:58:07 +0200
Subject: [PATCH] Fix assorted typos (#1168)

---
 arbor/include/arbor/cable_cell.hpp | 6 +++---
 python/cells.cpp                   | 2 +-
 python/flat_cell_builder.cpp       | 2 +-
 python/mechanism.cpp               | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arbor/include/arbor/cable_cell.hpp b/arbor/include/arbor/cable_cell.hpp
index 21a85c22..748f4c58 100644
--- a/arbor/include/arbor/cable_cell.hpp
+++ b/arbor/include/arbor/cable_cell.hpp
@@ -90,12 +90,12 @@ struct cable_probe_total_ion_current_density {
     locset locations;
 };
 
-// Total ionic current [nA] across membrance _excluding_ capacitive current across components of the cell.
+// Total ionic current [nA] across membrane _excluding_ capacitive current across components of the cell.
 // Sample value type: `cable_sample_range`
 // Sample metadata type: `mcable_list`
 struct cable_probe_total_ion_current_cell {};
 
-// Total membrance current [nA] across components of the cell.
+// Total membrane current [nA] across components of the cell.
 // Sample value type: `cable_sample_range`
 // Sample metadata type: `mcable_list`
 struct cable_probe_total_current_cell {};
@@ -295,7 +295,7 @@ public:
     // Painters and placers.
     //
     // Used to describe regions and locations where density channels, stimuli,
-    // synapses, gap juncitons and detectors are located.
+    // synapses, gap junctions and detectors are located.
 
     // Density channels.
     void paint(const region&, mechanism_desc);
diff --git a/python/cells.cpp b/python/cells.cpp
index d164a300..9d705484 100644
--- a/python/cells.cpp
+++ b/python/cells.cpp
@@ -277,7 +277,7 @@ void register_cells(pybind11::module& m) {
         .def_readwrite("V_th", &arb::lif_cell::V_th,
             "Firing threshold [mV].")
         .def_readwrite("C_m", &arb::lif_cell::C_m,
-            " Membrane capacitance [pF].")
+            "Membrane capacitance [pF].")
         .def_readwrite("E_L", &arb::lif_cell::E_L,
             "Resting potential [mV].")
         .def_readwrite("V_m", &arb::lif_cell::V_m,
diff --git a/python/flat_cell_builder.cpp b/python/flat_cell_builder.cpp
index 512a5182..822ae9c0 100644
--- a/python/flat_cell_builder.cpp
+++ b/python/flat_cell_builder.cpp
@@ -22,7 +22,7 @@
 namespace pyarb {
 
 class flat_cell_builder {
-    // The segment tree describing the morphology, constructed additatively with
+    // The segment tree describing the morphology, constructed additively with
     // segments that are attached to existing segments using add_cable.
     arb::segment_tree tree_;
 
diff --git a/python/mechanism.cpp b/python/mechanism.cpp
index 09356d66..56538721 100644
--- a/python/mechanism.cpp
+++ b/python/mechanism.cpp
@@ -153,7 +153,7 @@ void register_mechanisms(pybind11::module& m) {
             }),
             "name"_a, "The name of the mechanism",
             "params"_a, "A dictionary of parameter values, with parameter name as key.",
-            "Example usage setting pararmeters:\n"
+            "Example usage setting parameters:\n"
             "  m = arbor.mechanism('expsyn', {'tau': 1.4})\n"
             "will create parameters for the 'expsyn' mechanism, with the provided value\n"
             "for 'tau' overrides the default. If a parameter is not set, the default\n"
-- 
GitLab