Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: plantcv
dependencies:
- python=3.13
- matplotlib>=1.5
- numpy>=2
- numpy>=1.26
- pandas
- python-dateutil
- scipy<1.16
Expand All @@ -23,7 +23,7 @@ dependencies:
- ipympl
- nodejs
- jupyterlab
- altair
- altair<6
- vl-convert-python
- git
- flyr
Expand Down
2 changes: 1 addition & 1 deletion plantcv/plantcv/threshold/threshold_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def calc_texture(inputs):
float
Texture value
"""
inputs = np.reshape(inputs, newshape=[ksize, ksize])
inputs = np.reshape(inputs, (ksize, ksize))
inputs = inputs.astype(np.uint8)
# Greycomatrix takes image, distance offset, angles (in radians), symmetric, and normed
# http://scikit-image.org/docs/dev/api/skimage.feature.html#skimage.feature.graycomatrix
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ license = {file = "LICENSE"}
dynamic = ["version"]
dependencies = [
"matplotlib >= 1.5",
"numpy >= 2",
"numpy >= 1.26",
"pandas",
"python-dateutil",
"scipy <1.16",
Expand Down