diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index a0500dc..6add2ce 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v4 diff --git a/ndbioimage/readers/cziread.py b/ndbioimage/readers/cziread.py index 97c7889..2ce237a 100644 --- a/ndbioimage/readers/cziread.py +++ b/ndbioimage/readers/cziread.py @@ -646,7 +646,7 @@ class OmeParse: the_z=z, the_t=t, delta_t=delta_ts[t], - exposure_time=exposure_times[c], + exposure_time=exposure_times[min(c, len(exposure_times) - 1)] if len(exposure_times) > 0 else None, position_x=self.positions[0], position_x_unit=self.um, position_y=self.positions[1], diff --git a/pyproject.toml b/pyproject.toml index 5ec76c8..f69811f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ndbioimage" -version = "2025.10.0" +version = "2025.11.0" description = "Bio image reading, metadata and some affine registration." authors = [ { name = "W. Pomp", email = "w.pomp@nki.nl" }