Skip to content
Snippets Groups Projects
Unverified Commit 323f67cc authored by thorstenhater's avatar thorstenhater Committed by GitHub
Browse files

clean up a name collision (#1098)

Rename import method to avoid Python keyword collision.
parent 4d328ee0
No related branches found
No related tags found
No related merge requests found
......@@ -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.")
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment