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

Tests/add basic tests #3

Merged
merged 6 commits into from
Sep 20, 2024
Merged

Tests/add basic tests #3

merged 6 commits into from
Sep 20, 2024

Conversation

iosefa
Copy link
Owner

@iosefa iosefa commented Sep 20, 2024

No description provided.

Incremented the package version from 0.1.2 to 0.1.3. Revised the description to reflect the focus on analyzing forest structure using aerial LiDAR data.
Introduced a test suite covering key functions such as CRS simplification, polygon loading, raster EPSG reading, and LiDAR data handling. Added development dependencies and configuration for pytest, flake8, and black, enhancing code quality and consistency. Updated .gitignore to include QGIS generated files.
Created unit tests to verify functionality and error handling for various calculate functions such as generate_dtm, assign_voxels, calculate_pad, calculate_pai, calculate_fhd, and calculate_chm. Improved robustness by refining error messages and added checks for empty point cloud data.
Introduced test cases for `filter_hag`, `filter_ground`, and `filter_select_ground`. These tests validate that the functions correctly filter synthetic point cloud data based on height above ground and classification criteria.
Updated the GitHub Actions workflow to include running tests before publishing to PyPI. Added development dependencies to the README for better clarity on testing instructions and included test data to .gitignore file.
Incremented the version number from 0.1.3 to 0.1.4 in setup.py. This change reflects the latest updates and improvements made to the project.
@iosefa iosefa merged commit 05a95db into main Sep 20, 2024
@iosefa iosefa deleted the tests/add-basic-tests branch September 23, 2024 04:34
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.

1 participant