diff --git a/lincs/liblincs/liblincs_module.cpp b/lincs/liblincs/liblincs_module.cpp index 570e27ff..9559806b 100644 --- a/lincs/liblincs/liblincs_module.cpp +++ b/lincs/liblincs/liblincs_module.cpp @@ -218,10 +218,6 @@ void set_alternative_category_index(lincs::Alternative& alt, std::optional @@ -468,7 +464,7 @@ BOOST_PYTHON_MODULE(liblincs) { .def("make", &make_learning_data, bp::return_value_policy()).staticmethod("make") // @todo(Feature, soon) Expose all attributes to allow non-trivial Python strategies and observers .def("get_best_accuracy", &lincs::LearnMrsortByWeightsProfilesBreed::LearningData::get_best_accuracy) - .add_property("iteration_index", &get_learning_data_iteration_index) + .def_readonly("iteration_index", &lincs::LearnMrsortByWeightsProfilesBreed::LearningData::iteration_index) ; struct ProfilesInitializationStrategyWrap : lincs::LearnMrsortByWeightsProfilesBreed::ProfilesInitializationStrategy, bp::wrapper {