From 37f4555674578bc6919ddbfb21f4dc52663c4ca5 Mon Sep 17 00:00:00 2001 From: Emily Soth Date: Thu, 12 Dec 2024 10:04:38 -0800 Subject: [PATCH 1/3] bump pytest-subtests requirement --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 75b210cc1..d66d67d1d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -14,7 +14,7 @@ virtualenv>=12.0.1 pytest -pytest-subtests +pytest-subtests>=0.14.1 # https://github.com/pytest-dev/pytest-subtests/issues/173 wheel>=0.27.0 pypiwin32; sys_platform == 'win32' # pip-only From 6b00ec92d37a38c45d26cdfe6afb141a9ab1fe20 Mon Sep 17 00:00:00 2001 From: Emily Soth Date: Thu, 12 Dec 2024 10:24:24 -0800 Subject: [PATCH 2/3] less specific pytest-subtests requirement --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index d66d67d1d..28b33c0f0 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -14,7 +14,7 @@ virtualenv>=12.0.1 pytest -pytest-subtests>=0.14.1 # https://github.com/pytest-dev/pytest-subtests/issues/173 +pytest-subtests!=0.14.0 # https://github.com/pytest-dev/pytest-subtests/issues/173 wheel>=0.27.0 pypiwin32; sys_platform == 'win32' # pip-only From de930159f8640177e024d954f72fe4d89442ce75 Mon Sep 17 00:00:00 2001 From: newtpatrol <61762912+newtpatrol@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:35:27 -0800 Subject: [PATCH 3/3] Add integer text to lulc definition --- src/natcap/invest/urban_nature_access.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/natcap/invest/urban_nature_access.py b/src/natcap/invest/urban_nature_access.py index 56c12ebae..ed824412e 100644 --- a/src/natcap/invest/urban_nature_access.py +++ b/src/natcap/invest/urban_nature_access.py @@ -59,7 +59,8 @@ 'projection_units': u.meter, 'about': ( "A map of LULC codes. " - "All values in this raster must have corresponding entries " + "Each land use/land cover type must be assigned a unique integer " + "code. All values in this raster must have corresponding entries " "in the LULC attribute table. For this model in particular, " "the urban nature types are of importance. Non-nature types " "are not required to be uniquely identified. All outputs "