Skip to content

Commit

Permalink
Adjust imports to updates in libpysal (#272)
Browse files Browse the repository at this point in the history
* Bump codecov/codecov-action from 3 to 4

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix broken imports

* codecov GHA v3

* Update esda/getisord.py

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

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Fleischmann <[email protected]>
  • Loading branch information
3 people authored Oct 24, 2023
1 parent 3f5ce84 commit f6a8732
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion esda/getisord.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

import warnings

from libpysal.common import np, stats
import numpy as np
from scipy import stats

from libpysal.weights.spatial_lag import lag_spatial as slag
from libpysal.weights.util import fill_diagonal

Expand Down
4 changes: 3 additions & 1 deletion esda/smoothing.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
import warnings
from functools import reduce

import numpy as np

from libpysal.cg import (
KDTree,
LineSegment,
Point,
Ray,
Expand All @@ -34,7 +37,6 @@
get_points_dist,
get_segment_point_dist,
)
from libpysal.common import KDTree, np
from libpysal.common import requires as _requires
from libpysal.weights.distance import Kernel
from libpysal.weights.spatial_lag import lag_spatial as slag
Expand Down

0 comments on commit f6a8732

Please sign in to comment.