Skip to content

Commit

Permalink
Set random seed in to_pointcloud of pipeline point-raster test (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhugonnet authored May 31, 2024
1 parent b76140f commit 4917ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_coreg/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ def test_pipeline__errors(self) -> None:
def test_pipeline_pts(self) -> None:

pipeline = coreg.NuthKaab() + coreg.GradientDescending()
ref_points = self.ref.to_pointcloud(subsample=5000).ds
ref_points = self.ref.to_pointcloud(subsample=5000, random_state=42).ds
ref_points["E"] = ref_points.geometry.x
ref_points["N"] = ref_points.geometry.y
ref_points.rename(columns={"b1": "z"}, inplace=True)
Expand Down

0 comments on commit 4917ec0

Please sign in to comment.