From 217725f9bc3ac346a11da366d7109bdd1c537322 Mon Sep 17 00:00:00 2001 From: adehecq <3285905+adehecq@users.noreply.github.com> Date: Thu, 25 Jan 2024 10:22:38 +0100 Subject: [PATCH] Fix one forgotten subset --- tests/test_coreg/test_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_coreg/test_base.py b/tests/test_coreg/test_base.py index 52002629..b49c426a 100644 --- a/tests/test_coreg/test_base.py +++ b/tests/test_coreg/test_base.py @@ -635,7 +635,7 @@ def test_pipeline_pts(self) -> None: warnings.simplefilter("ignore") pipeline = coreg.NuthKaab() + coreg.GradientDescending() - ref_points = self.ref.to_points(as_array=False, subset=5000, pixel_offset="center").ds + ref_points = self.ref.to_points(as_array=False, sample=5000, pixel_offset="center").ds ref_points["E"] = ref_points.geometry.x ref_points["N"] = ref_points.geometry.y ref_points.rename(columns={"b1": "z"}, inplace=True)