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

REF: reimplement mrr on top of shapely #133

Merged
merged 3 commits into from
Mar 18, 2024
Merged

Conversation

martinfleis
Copy link
Member

Resolves the issue seen in pysal/libpysal#681 where opencv causes installation headache. Since we already depend on shapely, there's no need to depend on OpenCV, so using shapely's minimum_rotated_rectangle, computing the angle manually and coercing the resulting array into the opencv-like order (which is the opposite compared to shapely).

Copy link

codecov bot commented Jan 30, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (2c0e0b2) 69.4% compared to head (339435e) 69.4%.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main    #133   +/-   ##
=====================================
  Coverage   69.4%   69.4%           
=====================================
  Files         12      12           
  Lines       1769    1767    -2     
=====================================
- Hits        1228    1227    -1     
+ Misses       541     540    -1     
Files Coverage Δ
pointpats/centrography.py 46.2% <50.0%> (-<0.1%) ⬇️

@jGaboardi
Copy link
Member

@martinfleis Is this ready for review?

@martinfleis
Copy link
Member Author

@jGaboardi yup! Wasn't sure who's responsible here :).

@jGaboardi
Copy link
Member

Seems like you, @knaaptime, and @sjsrey have made the most recent commits. I'll add them for review as well.

@knaaptime knaaptime merged commit 85a77b8 into pysal:main Mar 18, 2024
9 checks passed
@martinfleis martinfleis deleted the skip branch March 18, 2024 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants