diff --git a/README.md b/README.md index 1b0059a..18fbf34 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![pytest](https://github.com/wimpomp/parfor/actions/workflows/pytest.yml/badge.svg)](https://github.com/wimpomp/parfor/actions/workflows/pytest.yml) +[![pytest](https://github.com/wimpomp/parfor/actions/workflows/pytest.yml/badge.svg)](https://github.com/wimpomp/parfor/actions/workflows/publish.yml) # Parfor Used to parallelize for-loops using parfor in Matlab? This package allows you to do the same in python. diff --git a/parfor/__init__.py b/parfor/__init__.py index 53fd5b3..094c496 100644 --- a/parfor/__init__.py +++ b/parfor/__init__.py @@ -478,6 +478,9 @@ class ParPool: class PoolSingleton: cpu_count: int = os.cpu_count() + def close(self) -> None: + pass + class Worker: nested: bool = False diff --git a/pyproject.toml b/pyproject.toml index 3a91044..78e2d96 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "parfor" -version = "2026.1.5" +version = "2026.2.0" description = "A package to mimic the use of parfor as done in Matlab." authors = [ { name = "Wim Pomp-Pervova", email = "wimpomp@gmail.com" }