diff --git a/binds/python/bind_misc.cpp b/binds/python/bind_misc.cpp index 36f9854cd..297e167ff 100644 --- a/binds/python/bind_misc.cpp +++ b/binds/python/bind_misc.cpp @@ -92,6 +92,7 @@ void bind_misc(py::module& m) { .value("allow_root_bifurcations", morphio::enums::Option::ALLOW_ROOT_BIFURCATIONS) .value("allow_soma_bifurcations", morphio::enums::Option::ALLOW_SOMA_BIFURCATIONS) .value("allow_multiple_somata", morphio::enums::Option::ALLOW_MULTIPLE_SOMATA) + .value("allow_custom_root_id", morphio::enums::Option::ALLOW_CUSTOM_ROOT_ID) .export_values(); @@ -118,7 +119,8 @@ void bind_misc(py::module& m) { .value("zero_diameter", morphio::enums::Warning::ZERO_DIAMETER) .value("root_bifurcation", morphio::enums::Warning::ROOT_BIFURCATION) .value("soma_bifurcation", morphio::enums::Warning::SOMA_BIFURCATION) - .value("multiple_somata", morphio::enums::Warning::MULTIPLE_SOMATA); + .value("multiple_somata", morphio::enums::Warning::MULTIPLE_SOMATA) + .value("custom_root_id", morphio::enums::Warning::CUSTOM_ROOT_ID); py::enum_(m, "SomaType", py::arithmetic()) .value("SOMA_UNDEFINED", morphio::enums::SomaType::SOMA_UNDEFINED)