From 01775b25b87c20ddf0a4b6fc05885d645f569a27 Mon Sep 17 00:00:00 2001 From: Ariana Barzinpour Date: Mon, 5 Dec 2022 23:36:02 +0000 Subject: [PATCH] fix tests --- cubedash/_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cubedash/_utils.py b/cubedash/_utils.py index 5aed6a6ed..f21c759b3 100644 --- a/cubedash/_utils.py +++ b/cubedash/_utils.py @@ -879,7 +879,7 @@ def dataset_shape(ds: Dataset) -> Tuple[Optional[Polygon], bool]: def bbox_as_geom(dataset): """Get dataset bounds as to Geometry object projected to target CRS""" - return geometry.box(*dataset.bounds, crs=dataset.crs).to_crs(CRS(_TARGET_CRS)) + return geometry.box(**dataset.bounds, crs=dataset.crs).to_crs(CRS(_TARGET_CRS)) # ######################### WARNING ############################### #