A Dashboard for exploring features in OME-Zarr datasets.
Project description
fractal-feature-explorer
Installation
The easiest way to install the fractal-feature-explorer is to use uv or pipx:
pipx install fractal-feature-explorer
or
uv tool install fractal-feature-explorer
Alternatively, you can install it in a standart Conda/Venv using pip:
pip install fractal-feature-explorer
Usage
You can run the dashboard using the explorer command:
explorer
at the first run, it will ask you for permission to create a configuration file in your home directory (~/.fractal_feature_explorer/config.toml), which will be used for future runs.
Alternatively, you can expose a configuration file using the FRACTAL_FEATURE_EXPLORER_CONFIG environment variable:
export FRACTAL_FEATURE_EXPLORER_CONFIG=/path/to/config.toml
explorer
More details on the configuration file will be availble soon.
Local development setup
- pixi (lockfile create with pixi 0.47)
- local clone of this repo
running the dashboard
-
using pixi task
pixi run -e dev explorer-dev
-
from streamlit directly
pixi run streamlit run src/fractal_feature_explorer/main.py
Change log
See CHANGELOG.md for details on changes and updates.
URL query parameters
setup_mode: eitherPlatesorImages. This will determine the setup page of the dashboard.zarr_url: the URL of the zarr file to load.token: the fractal token to use for authentication (optional).
example URL: http://localhost:8501/?zarr_url=/Users/locerr/data/20200812-23well&?zarr_url=/Users/locerr/data/20200811-23well
Test data
- Small 2D (~100Mb)
- Small 2D (~100Mb) and 3D (~750Mb)
- Large 2D (~30Gb)
- Small data on public URL: https://raw.githubusercontent.com/tcompa/hosting-ome-zarr-on-github/refs/heads/main/20200812-CardiomyocyteDifferentiation14-Cycle1_mip.zarr
Main limitations
- Image preview is not available for 3D images.
- Single images not supported, only plates.
Troubleshooting
-
pixi lock file not supported by your local pixi version:
$ pixi run explorer × Failed to load lock file from `/xxx/fractal-feature-explorer/pixi.lock` ╰─▶ found newer lockfile format version 6, but only up to including version 5 is supported
If you get an error like this you need to either update your local pixi version (
pixi self-update) or create a new lock file with your local version of pixi. To do this, delete thepixi.lock, a new lock will be created when your run the dashboard again.
Contributing
Releasing a new version on PyPI:
-
Create a new local tag with the format
vX.Y.Z, whereX.Y.Zis the new version number.git tag v0.1.8 -m "v0.1.8"
-
Push the tag to the remote repository.
git push --tags
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fractal_feature_explorer-0.1.13.tar.gz.
File metadata
- Download URL: fractal_feature_explorer-0.1.13.tar.gz
- Upload date:
- Size: 148.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
960e19f0cca3d14ab85e20efbd7f28e5ab852695f54404e0f4d44f96b2fc4ea6
|
|
| MD5 |
69c14609564b9335c5f645a80e06b029
|
|
| BLAKE2b-256 |
f89e09ebc44023efc0a5a61555a9cefc56f009b461017b1a36a8a2b2aab8c225
|
Provenance
The following attestation bundles were made for fractal_feature_explorer-0.1.13.tar.gz:
Publisher:
ci.yml on fractal-analytics-platform/fractal-feature-explorer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fractal_feature_explorer-0.1.13.tar.gz -
Subject digest:
960e19f0cca3d14ab85e20efbd7f28e5ab852695f54404e0f4d44f96b2fc4ea6 - Sigstore transparency entry: 555240626
- Sigstore integration time:
-
Permalink:
fractal-analytics-platform/fractal-feature-explorer@0e536dd71a2c73cd291a23e96bb660d9a959b5a3 -
Branch / Tag:
refs/tags/v0.1.13 - Owner: https://github.com/fractal-analytics-platform
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@0e536dd71a2c73cd291a23e96bb660d9a959b5a3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fractal_feature_explorer-0.1.13-py3-none-any.whl.
File metadata
- Download URL: fractal_feature_explorer-0.1.13-py3-none-any.whl
- Upload date:
- Size: 87.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7119507fe54b60fb6eb0b74fea1f5ac0a86f30dcb5cb30b4d2cb4c4b96441ce
|
|
| MD5 |
71ed618d89b373f7f13c34664b470a57
|
|
| BLAKE2b-256 |
ac4a36333691c6b081d7d802f4a0746c5834e5316d7a032d99bf59022a2b3dd5
|
Provenance
The following attestation bundles were made for fractal_feature_explorer-0.1.13-py3-none-any.whl:
Publisher:
ci.yml on fractal-analytics-platform/fractal-feature-explorer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fractal_feature_explorer-0.1.13-py3-none-any.whl -
Subject digest:
a7119507fe54b60fb6eb0b74fea1f5ac0a86f30dcb5cb30b4d2cb4c4b96441ce - Sigstore transparency entry: 555240650
- Sigstore integration time:
-
Permalink:
fractal-analytics-platform/fractal-feature-explorer@0e536dd71a2c73cd291a23e96bb660d9a959b5a3 -
Branch / Tag:
refs/tags/v0.1.13 - Owner: https://github.com/fractal-analytics-platform
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@0e536dd71a2c73cd291a23e96bb660d9a959b5a3 -
Trigger Event:
push
-
Statement type: