Skip to content

Commit f1da50f

Browse files
author
chrisjonesBSU
committed
update pre-commit, use numpy>=2 and hoomd>=5
1 parent 23e080d commit f1da50f

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

environment-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ channels:
44
dependencies:
55
- freud >=3.0,<3.2
66
- gsd >=3.0
7-
- hoomd >=4.0,<5.0
7+
- hoomd >=5.0
88
- python >=3.10
99
- pandas
1010
- cmeutils >=1.3
11-
- numpy <2.0
11+
- numpy >=2.0,<2.3
1212
- more-itertools
1313
- pytest
1414
- pytest-cov

environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ channels:
44
dependencies:
55
- freud >=3.0,<3.2
66
- gsd >=3.0
7-
- hoomd >=4.0,<5.0
7+
- hoomd >=5.0
88
- python >=3.10
99
- pandas
1010
- cmeutils >=1.3
11-
- numpy <2.0
11+
- numpy >=2.0,<2.3
1212
- more-itertools

msibi/utils/smoothing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def savitzky_golay(
3737

3838
order_range = range(order + 1)
3939
half_window = (window_size - 1) // 2
40-
b = np.mat(
40+
b = np.asmatrix(
4141
[[k**i for i in order_range] for k in range(-half_window, half_window + 1)]
4242
)
4343
m = np.linalg.pinv(b).A[deriv] * 1**deriv * factorial(deriv)

setup.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,3 @@ omit =
2323
[bumpversion:file:msibi/__version__.py]
2424

2525
[bumpversion:file:pyproject.toml]
26-
27-
#[bumpversion:file:docs/conf.py]

0 commit comments

Comments
 (0)