Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ljwolf
Copy link
Member

@ljwolf ljwolf commented May 24, 2023

see my comment in pysal/esda#245 for rationale and the fix implemented here.

@ljwolf ljwolf requested review from martinfleis and sjsrey May 24, 2023 19:34
@ljwolf ljwolf added bug functionality that: returns invalid, erroneous, or meaningless results; or doesn't work at all. weights labels May 24, 2023
@jGaboardi
Copy link
Member

Possibly related to and fix for pysal/spopt#346

@codecov
Copy link

codecov bot commented May 24, 2023

Codecov Report

Merging #528 (40e71bf) into main (d5ea8f9) will increase coverage by 0.1%.
The diff coverage is 100.0%.

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #528     +/-   ##
=======================================
+ Coverage   79.9%   79.9%   +0.1%     
=======================================
  Files        113     113             
  Lines      13130   13135      +5     
=======================================
+ Hits       10486   10500     +14     
+ Misses      2644    2635      -9     
Impacted Files Coverage Δ
libpysal/weights/tests/test_adjlist.py 98.5% <100.0%> (+0.1%) ⬆️
libpysal/weights/weights.py 83.2% <100.0%> (ø)

... and 1 file with indirect coverage changes

Copy link
Member

@martinfleis martinfleis left a comment

Choose a reason for hiding this comment

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

Thanks!

We really need to get rid of ordering... It is a can of worms and I'm sure this is not the only bug that is in there.

@ljwolf ljwolf merged commit 8fa39a8 into pysal:main May 24, 2023
ljwolf referenced this pull request May 25, 2023
* Handle set_index properly in to_adjlist

* Add option to sort/unsort return from to_adjlist

* Update libpysal/weights/tests/test_adjlist.py

Co-authored-by: Martin Fleischmann <[email protected]>

Co-authored-by: eli knaap <[email protected]>
Co-authored-by: Martin Fleischmann <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug functionality that: returns invalid, erroneous, or meaningless results; or doesn't work at all. weights

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants