From 5b10e29cbb09980b14d130851352021e06669a67 Mon Sep 17 00:00:00 2001 From: boxanm Date: Sat, 18 May 2024 13:35:25 -0400 Subject: [PATCH 01/39] Add a method that returns a list of all available Descriptor's parameters --- pointmatcher/Registrar.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pointmatcher/Registrar.h b/pointmatcher/Registrar.h index 5bfa8654..e5761696 100644 --- a/pointmatcher/Registrar.h +++ b/pointmatcher/Registrar.h @@ -180,6 +180,12 @@ namespace PointMatcherSupport return getDescriptor(name)->description(); } + //! Get all available parameters of a class + const Parametrizable::ParametersDoc getAvailableParameters(const std::string& name) const + { + return getDescriptor(name)->availableParameters(); + } + //! Print the list of registered classes to stream void dump(std::ostream &stream) const { From d5ce52a6ce4e3089489ebef6a972967b63d82d4a Mon Sep 17 00:00:00 2001 From: boxanm Date: Sat, 18 May 2024 13:57:28 -0400 Subject: [PATCH 02/39] Add python binding for the method that returns a list of all available Descriptor's parameters --- .../registrars/data_points_filter_registrar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/python/pointmatchersupport/registrars/data_points_filter_registrar.cpp b/python/pointmatchersupport/registrars/data_points_filter_registrar.cpp index 3ee03b28..aed0960a 100644 --- a/python/pointmatchersupport/registrars/data_points_filter_registrar.cpp +++ b/python/pointmatchersupport/registrars/data_points_filter_registrar.cpp @@ -12,6 +12,7 @@ namespace python .def("getDescriptor", &DataPointsFilterRegistrar::getDescriptor, py::arg("name"), "Return a descriptor following a name, throw an exception if name is invalid") .def("create", &DataPointsFilterRegistrar::create, py::arg("name"), py::arg("params") = Parameters(), "Create an instance") .def("getDescription", &DataPointsFilterRegistrar::getDescription, py::arg("name"), "Get the description of a class") + .def("getAvailableParameters", &DataPointsFilterRegistrar::getAvailableParameters, py::arg("name"), "Get all available parameters of a class") .def("dump", [](const DataPointsFilterRegistrar& self) { std::ostringstream oss; From 1dddcbebeffb85234dc2195c00ccd09b839404bf Mon Sep 17 00:00:00 2001 From: RedLeaderOne Date: Wed, 5 Jun 2024 12:17:54 -0400 Subject: [PATCH 03/39] ci: fix build system standalone dependencies installer and run config mod --- .../.jetbrains_run_config/[LPM] run all bats tests.run.xml | 2 +- ...atrix.bash \342\200\272 build _service_ _popup_.run.xml" | 2 +- ...build dependencies_arm64v8 ci_PR_arm64v8 _popup_.run.xml" | 4 ++-- ...ncies-general dependencies (BUILD MATRIX SUBSET).run.xml" | 4 ++-- ... \342\200\272 build test_compilation__ (Release).run.xml" | 4 ++-- ..._compilation_prefixed_path (BUILD MATRIX SUBSET).run.xml" | 4 ++-- ...ush dependencies-general dependencies (AS IN TC).run.xml" | 2 +- .../test_execute_compose_over_build_matrix.bash.run.xml | 2 +- ..._execute_compose_over_build_matrix_with_flag.bash.run.xml | 2 +- .../tests_docker_interactive/Dockerfile.build_system_test | 3 ++- .../ubuntu/lpm_install_dependencies_general_ubuntu.bash | 5 ++++- build_system/ubuntu/lpm_install_libpointmatcher_ubuntu.bash | 4 ++++ 12 files changed, 23 insertions(+), 15 deletions(-) diff --git a/build_system/.jetbrains_run_config/[LPM] run all bats tests.run.xml b/build_system/.jetbrains_run_config/[LPM] run all bats tests.run.xml index c976ae38..a54069bd 100644 --- a/build_system/.jetbrains_run_config/[LPM] run all bats tests.run.xml +++ b/build_system/.jetbrains_run_config/[LPM] run all bats tests.run.xml @@ -9,7 +9,7 @@