Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add argument names and docstrings for Python files + Fix nested filesystem folders #65

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

gtker
Copy link

@gtker gtker commented Sep 20, 2023

By default pybind11 just calls the arguments arg0, arg1, etc., which is less than ideal. This should make it significantly nicer to use the Python API with an IDE.

This PR also unifies the path handling across the exe, python and C.

create_directories does nothing if the directory already exists, so there's no need to check.

Fixes #64.

Gtker added 3 commits September 20, 2023 15:00
By default `pybind11` just calls the arguments `arg0`, `arg1`, etc.,
which is less than ideal.
This logic was duplicated across the MapBuilder executable, the Python
bindngs and the C bindings.
Fixes namreeb#64.

`create_directories` does nothing if the directory already exists, so
there is no need to check.
@namreeb namreeb merged commit 9088ebf into namreeb:master Oct 12, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MapBuilder and C API can not handle uncreated directories 2 steps deep
2 participants