From 2cbe0260f308985ac0157e5f62c1c91e793c7045 Mon Sep 17 00:00:00 2001 From: Alex Zvoleff Date: Sun, 26 Jan 2025 22:03:05 -0500 Subject: [PATCH] Fix URI to not be a tuple --- setup.py | 2 +- te_algorithms/api/util.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index dc767d4..c356dc9 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ "openpyxl>=3.1.3", "backoff>=2.1.0", "marshmallow>=3.21.3", - "marshmallow-dataclass[enum, union]==8.7.0", + "marshmallow-dataclass[enum, union]>=8.7.0", "defusedxml>=0.7.1", "te_schemas @ git+https://github.com/ConservationInternational/trends.earth-schemas.git@master", ], diff --git a/te_algorithms/api/util.py b/te_algorithms/api/util.py index 292f3a4..e831be4 100644 --- a/te_algorithms/api/util.py +++ b/te_algorithms/api/util.py @@ -745,7 +745,7 @@ def download_cloud_results( aws_access_key_id=aws_access_key_id, aws_secret_access_key=aws_secret_access_key, ) - raster_uri = (results.URI(uri=out_file),) + raster_uri = results.URI(uri=out_file) raster.uri = raster_uri out_rasters.append( results.Raster(