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

policy for multiple components in maxp #223

Merged
merged 12 commits into from Mar 16, 2022
Merged

Conversation

sjsrey
Copy link
Member

@sjsrey sjsrey commented Mar 13, 2022

No description provided.

@sjsrey sjsrey added the WIP Work in progress. For discussion and feedback. Do not merge. label Mar 13, 2022
@codecov
Copy link

codecov bot commented Mar 13, 2022

Codecov Report

Merging #223 (0f59d3f) into main (72fb50b) will increase coverage by 0.7%.
The diff coverage is 90.4%.

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #223     +/-   ##
=======================================
+ Coverage   65.2%   66.0%   +0.7%     
=======================================
  Files         23      23             
  Lines       2466    2535     +69     
  Branches     535     552     +17     
=======================================
+ Hits        1609    1672     +63     
+ Misses       783     778      -5     
- Partials      74      85     +11     
Impacted Files Coverage Δ
spopt/region/base.py 91.2% <89.2%> (-3.0%) ⬇️
spopt/region/maxp.py 94.7% <100.0%> (-1.3%) ⬇️
spopt/region/ward.py 100.0% <100.0%> (ø)
spopt/_version.py 33.8% <0.0%> (+1.5%) ⬆️

@sjsrey
Copy link
Member Author

sjsrey commented Mar 14, 2022

TODO

  • add tests
  • finish docs

return []


def plot_components(gdf, w):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, this can be a really useful check. It might be nice to lift it up into lib...?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking the same.

What we could do is leave this here for now, then as part of the next release of lib, migrate this over and have spopt import from lib.

@sjsrey sjsrey removed the WIP Work in progress. For discussion and feedback. Do not merge. label Mar 15, 2022
@sjsrey sjsrey changed the title WIP: policy for multiple components in maxp policy for multiple components in maxp Mar 15, 2022
@jGaboardi
Copy link
Member

@sjsrey Is this ready to merge or are you still working on it?

@sjsrey
Copy link
Member Author

sjsrey commented Mar 16, 2022

@sjsrey Is this ready to merge or are you still working on it?

Good to go.

@jGaboardi jGaboardi merged commit 837e8cb into pysal:main Mar 16, 2022
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.

None yet

3 participants