Skip to content

Commit ccad4ee

Browse files
authored
Merge pull request #28 from elmbeech/master
pcdl v3.3.4
2 parents 2a5a41f + 891c31e commit ccad4ee

File tree

13 files changed

+344
-66
lines changed

13 files changed

+344
-66
lines changed

.github/workflows/apple.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
#python-version: ["3.12"]
21-
python-version: ["3.9", "3.10", "3.11", "3.12"]
20+
python-version: ["3.13"]
21+
#python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2222

2323
env:
2424
PYTHONPATH: /Users/runner/work/physicelldataloader/physicelldataloader
@@ -33,7 +33,7 @@ jobs:
3333
run: |
3434
brew install ffmpeg imagemagick
3535
python -m pip install --upgrade pip
36-
python -m pip install flake8 pytest aicsimageio anndata matplotlib numpy pandas requests scipy vtk
36+
python -m pip install flake8 pytest anndata bioio matplotlib numpy pandas requests scipy vtk
3737
python -m pip install /Users/runner/work/physicelldataloader/physicelldataloader -v
3838
#if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3939
- name: lint with flake8
@@ -45,4 +45,3 @@ jobs:
4545
- name: test with pytest
4646
run: |
4747
pytest
48-

.github/workflows/linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
#python-version: ["3.12"]
21-
python-version: ["3.9", "3.10", "3.11", "3.12"]
20+
python-version: ["3.13"]
21+
#python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2222

2323
env:
2424
PYTHONPATH: /home/runner/work/physicelldataloader/physicelldataloader
@@ -33,7 +33,7 @@ jobs:
3333
run: |
3434
sudo apt install ffmpeg imagemagick
3535
python -m pip install --upgrade pip
36-
python -m pip install flake8 pytest aicsimageio anndata matplotlib numpy pandas requests scipy vtk
36+
python -m pip install flake8 pytest anndata bioio matplotlib numpy pandas requests scipy vtk
3737
python -m pip install /home/runner/work/physicelldataloader/physicelldataloader -v
3838
#if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3939
- name: lint with flake8

.github/workflows/windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
#python-version: ["3.12"]
21-
python-version: ["3.9", "3.10", "3.11", "3.12"]
20+
python-version: ["3.13"]
21+
#python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2222

2323
env:
2424
PYTHONPATH: D:\a\physicelldataloader\physicelldataloader
@@ -33,7 +33,7 @@ jobs:
3333
run: |
3434
choco install ffmpeg imagemagick
3535
python -m pip install --upgrade pip
36-
python -m pip install flake8 pytest aicsimageio anndata matplotlib numpy pandas requests scipy vtk
36+
python -m pip install flake8 pytest anndata bioio matplotlib numpy pandas requests scipy vtk
3737
python -m pip install D:\a\physicelldataloader\physicelldataloader -v
3838
#echo 'set PYTHONPATH=D:\a\physicelldataloader\physicelldataloader' >> $GITHUB_ENV
3939
#if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

README.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
![physicellcdataloader logo & title](man/img/physicelldataloader_title_v3.0.0.png)
22

3-
> [!WARNING]
4-
> **For now, pcdl is only compiling on Python < v13!**
5-
>
6-
> *The reason is the deprecated [AICSImageIO](https://github.com/AllenCellModeling/aicsimageio) library dependency, which has lxml dependencies that no longer compile.*
7-
> *As soon as I find time (May or June 2025, after the spring semester), I will replace aicsimageio with its successor, the [BioIO](https://github.com/bioio-devs/bioio) library.*
8-
>
9-
> **Stay tuned and thank you for your patience, Elmar**
10-
113
## Abstract:
124

135
physicelldataloader (pcdl) provides a platform independent, python3 based, [pip](https://en.wikipedia.org/wiki/Pip_(package_manager)) installable interface
@@ -27,7 +19,7 @@ The pcdl python3 library maintains three branches:
2719
## Header:
2820

2921
+ Language: python [>= 3.9](https://devguide.python.org/versions/)
30-
+ Library dependencies: aicsimageio, anndata, matplotlib, numpy, pandas, (requests), scipy, vtk
22+
+ Library dependencies: anndata, bioio, matplotlib, numpy, pandas, (requests), scipy, vtk
3123
+ Date of origin original PhysiCell-Tools python-loader: 2019-09-02
3224
+ Date of origin pcdl fork: 2022-08-30
3325
+ Doi: https://doi.org/10.5281/ZENODO.8176399
@@ -130,10 +122,14 @@ Developers, please make pull requests to the https://github.com/elmbeech/physice
130122

131123
+ evt generate lineage tree graph output files.
132124
+ evt add neuroglancer ome.tiff support.
133-
+ switch from aicsimageio to bioio library, when the library is ripe (napari has switched to bioio).
134-
125+
+ evt add DataDiVR support.
135126

136127
## Release Notes:
128+
+ version 3.3.4 (2025-03-07): elmbeech/physicelldataloader
129+
+ replace the **aicsimageio** library dependency with its successor **bioio**. special thanks to Joel Eliason!
130+
+ **make_ome_tiff** can handle automatically generated file names with > 255 characters. special thank to Genevieve Stein-O'Brien and DanielBergman!
131+
+ **get_mesh_spacing** handels now an edge case correctly that would have resulted in a division by zero. special thanks to Randy Heiland!
132+
137133
+ version 3.3.3 (2025-01-10): elmbeech/physicelldataloader
138134
+ bug fix **plot_contour** plot orientation. special thanks to Marco Ruscone!
139135
+ add test data for new improved **unittest physicell model**. special thanks to Nick Oldfather!

man/TUTORIAL_python3_napari.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,8 @@ https://github.com/AllenCellModeling/napari-aicsimageio
88

99
## Install napari
1010

11-
And install the [aicsimageio](https://github.com/AllenCellModeling/aicsimageio) library,
12-
which installs the "ome-types" napari plugin,
13-
that napari can read ome.tiff images inclusive ome metadata.
14-
1511
```bash
1612
pip3 install napari[all]
17-
pip3 install aicsimageio
1813
```
1914

2015

man/TUTORIAL_python3_ometiff.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ and [TUTORIAL_fiji_imagej.md](https://github.com/elmbeech/physicelldataloader/bl
1414

1515
Additionally ome.tiff, tiff, png, and jpeg files can as well be loaded back in to python as [numpy](https://numpy.org/) array, for example with the [sci-kit image](https://scikit-image.org/) library (image data only).
1616

17-
Besides that, ome.tiff files can be loaded with Allen Institute for Cell Science's [aicsimageio](https://github.com/AllenCellModeling/aicsimageio) library and possibly with its successor library [bioio](https://github.com/bioio-devs/bioio) (image and metadata).
17+
Besides that, ome.tiff files can be loaded with the [bioio](https://github.com/bioio-devs/bioio) library (image and metadata).
1818

1919

2020
### Save pcdl data constructs from the command line into tiff and ome.tiff files
@@ -64,12 +64,12 @@ a_ome.shape # (25, 2, 200, 300)
6464
```
6565

6666

67-
### Load ome.tiff files as AICSImage object into python
67+
### Load ome.tiff files as BioImage object into python
6868

6969
```python
70-
from aicsimageio import AICSImage
70+
from bioio import BioImage
7171

72-
img = AICSImage('output/timeseries_ID.ome.tiff')
72+
img = BioImage('output/timeseries_ID.ome.tiff')
7373
img.shape # (25, 2, 1, 200, 300)
7474
```
7575
```python

pcdl/VERSION.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.3.3'
1+
__version__ = '3.3.4'

0 commit comments

Comments
 (0)