From db0a0306dd332f2d7eabe1a75cb8fd50e0bbd6d9 Mon Sep 17 00:00:00 2001 From: Stephane Rigaud Date: Thu, 18 Apr 2024 12:12:17 +0200 Subject: [PATCH] update tests and version --- CMakeLists.txt | 2 +- pyclesperanto/_version.py | 4 ++-- pyproject.toml | 2 +- tests/test_transform.py | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d3d87d5a..1b02dde7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ option(BUILD_SHARED_LIBS OFF) ## CLIc dependency -set(CLIC_REPO_TAG 0.10.0) # branch name for dev +set(CLIC_REPO_TAG 0.10.1) # branch name for dev set(CLIC_REPO_URL https://github.com/clEsperanto/CLIc.git) set(BUILD_OPENCL_BACKEND ON CACHE BOOL "Build with OCL if FOUND" FORCE) set(BUILD_CUDA_BACKEND ON CACHE BOOL "Build with CUDA if FOUND" FORCE) diff --git a/pyclesperanto/_version.py b/pyclesperanto/_version.py index 797a1e9c..e5c94697 100644 --- a/pyclesperanto/_version.py +++ b/pyclesperanto/_version.py @@ -1,10 +1,10 @@ # pyclesperanto version -VERSION_CODE = 0, 10, 0 +VERSION_CODE = 0, 10, 1 VERSION_STATUS = "" VERSION = ".".join(str(x) for x in VERSION_CODE) + VERSION_STATUS # clic version -CLIC_VERSION_CODE = 0, 10, 0 +CLIC_VERSION_CODE = 0, 10, 1 CLIC_VERSION_STATUS = "" CLIC_VERSION = ".".join(str(x) for x in CLIC_VERSION_CODE) + CLIC_VERSION_STATUS diff --git a/pyproject.toml b/pyproject.toml index d397ec9a..358a6395 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ description = "GPU-accelerated image processing in python using OpenCL" name = "pyclesperanto" readme = "README.md" requires-python = ">=3.7" -version = "0.10.0" +version = "0.10.1" [project.urls] Documentation = "https://clesperanto.github.io/pyclesperanto/" diff --git a/tests/test_transform.py b/tests/test_transform.py index 2881e7c6..4fd8bdb3 100644 --- a/tests/test_transform.py +++ b/tests/test_transform.py @@ -23,15 +23,15 @@ def test_rotate(): [ [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], - [0, 0, 1, 0, 0], - [0, 0, 1, 1, 0], [0, 0, 0, 0, 0], + [0, 1, 0, 0, 0], + [0, 1, 0, 0, 0], ] ] ) ) - result = cle.rotate(source, angle_z=45.0, centered=False) + result = cle.rotate(source, angle_z=60.0, centered=False) a = cle.pull(result) b = cle.pull(reference)