Add nilsimsa enumeration to Python interface

This commit is contained in:
Marcus Holland-Moritz 2020-12-08 00:51:39 +01:00
parent 78ead545f5
commit 8b83d98ec0

View File

@ -209,7 +209,8 @@ python_script::impl::impl(logger& lgr, const std::string& code,
.value("none", file_order_mode::NONE)
.value("path", file_order_mode::PATH)
.value("script", file_order_mode::SCRIPT)
.value("similarity", file_order_mode::SIMILARITY);
.value("similarity", file_order_mode::SIMILARITY)
.value("nilsimsa", file_order_mode::NILSIMSA);
main_namespace_["set_mode"] =
py::enum_<options_interface::set_mode>("set_mode")