Merged
Conversation
Circumventing gflags helps since it is not always available or linked correctly. An alternative solution would be to automatically make gflags available through FetchContent, but we would rather keep the number of auto-fetched libraries small to reduce compatibility struggles. Furthermore, our library currently disables the option to install if any dependency is auto-fetched.
LionelOtt
reviewed
Sep 6, 2024
LionelOtt
reviewed
Sep 6, 2024
LionelOtt
reviewed
Sep 6, 2024
LionelOtt
reviewed
Sep 6, 2024
LionelOtt
reviewed
Sep 6, 2024
LionelOtt
reviewed
Sep 6, 2024
| .def("clear", &Pipeline::clear, | ||
| "Deregister all the pipeline's measurement integrators and map " | ||
| "operations.") | ||
| .def("hasIntegrator", &Pipeline::hasIntegrator, "integrator_name"_a, |
Contributor
There was a problem hiding this comment.
Would be has_integrator or alternatively integrator_name in pipeline. The in keyword is used in python to check for existence of an object in a different thing, often lists, maps, etc. So might not be the most sensible here to be honest unless you return a list of integrators but then it's on the user to implement the check.
LionelOtt
reviewed
Sep 6, 2024
49879f8 to
450d9ae
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces pywavemap, a Python API for the wavemap library.
Type of change
Detailed summary
This PR extends wavemap 2.0 with a full-fledged Python API, enabling the creation, reading, and writing of map files. Users can configure and run modular mapping pipelines directly in Python. The API includes fast, batched map accessors optimized for PyTorch and other machine learning frameworks. Additionally, the CI pipeline has been rewritten for improved testing and easier future extensions.
Testing
Unit tests for pywavemap have been implemented using pytest.
The CI pipeline has been extended to automatically build and test pywavemap, alongside other major improvements (see above).
Checklist: