diff --git a/python/mechanism.cpp b/python/mechanism.cpp index 92515ef1e0e5a11e3fec446d12da29e6bb4196db..c710c013f12a966473bba6075828480da13c0b20 100644 --- a/python/mechanism.cpp +++ b/python/mechanism.cpp @@ -118,7 +118,7 @@ void register_mechanisms(pybind11::module& m) { throw std::runtime_error(util::pprintf("\nKeyError: '{}'", name)); } }) - .def("import", &arb::mechanism_catalogue::import, + .def("extend", &arb::mechanism_catalogue::import, "other"_a, "Catalogue to import into self", "prefix"_a, "Prefix for names in other", "Import another catalogue, possibly with a prefix. Will overwrite in case of name collisions.")