diff --git a/python/recipe.cpp b/python/recipe.cpp index 9456dd3d407bdc62c5a826fc35d7340c6ee1a68c..febd5cdbd7d836f1d87cc7a8fdc91c0a883a790e 100644 --- a/python/recipe.cpp +++ b/python/recipe.cpp @@ -158,15 +158,15 @@ void register_recipe(pybind11::module& m) { "Describes a gap junction between two gap junction sites."); gap_junction_connection .def(pybind11::init<arb::cell_member_type, arb::cell_lid_type, double>(), - "local"_a, "peer"_a, "ggap"_a, + "peer"_a, "local"_a, "ggap"_a, "Construct a gap junction connection with arguments:\n" - " local: One half of the gap junction connection.\n" - " peer: Other half of the gap junction connection.\n" + " peer: One half of the gap junction connection.\n" + " local: Other half of the gap junction connection.\n" " ggap: Gap junction conductance [μS].") - .def_readwrite("local", &arb::gap_junction_connection::local, - "One half of the gap junction connection.") .def_readwrite("peer", &arb::gap_junction_connection::peer, - "Other half of the gap junction connection.") + "Peer half of the gap junction connection.") + .def_readwrite("local", &arb::gap_junction_connection::local, + "Local half of the gap junction connection.") .def_readwrite("ggap", &arb::gap_junction_connection::ggap, "Gap junction conductance [μS].") .def("__str__", &gj_to_string)