A Dashboard for exploring features in OME-Zarr datasets.
Project description
fractal-feature-explorer
This is the repository that contains the Fractal feature explorer dashboard. Find more information about Fractal in general and the other repositories at the Fractal home page.
Run the dashboard locally
Examples:
- Via
uvx:
pipx run --spec fractal-feature-explorer explorer
- Via
pipx:
uvx --from fractal-feature-explorer explorer
- Via
pixi:
git clone https://github.com/fractal-analytics-platform/fractal-feature-explorer.git
cd fractal-feature-explorer
pixi run explorer
- Via
venv+pip:
git clone https://github.com/fractal-analytics-platform/fractal-feature-explorer.git
cd fractal-feature-explorer
python3 -m venv venv
source ./venv/bin/activate
python3 -m pip install -e .
explorer
Run the dashboard on a remote server
The most common option is to create a virtual environment and install via pip, and then run via uvicorn
python3 -m venv venv
source venv/bin/activate
pip install fractal-feature-explorer
export FRACTAL_FEATURE_EXPLORER_CONFIG="config.toml"
uvicorn \
fractal_feature_explorer.app:app\
--no-server-header \
--host 0.0.0.0 \
--port 8501 \
Configuration-file examples:
Develoment
# Clone this repository
git clone https://github.com/fractal-analytics-platform/fractal-feature-explorer.git
# Install the project via pixi
pixi install
# Run the app
export FRACTAL_FEATURE_EXPLORER_CONFIG=./example-config-files/development-config.toml
pixi run uvicorn fractal_feature_explorer.app:app --host 0.0.0.0 --port 8501
Note that this development-config.toml simulates a production deployment and thus it requires Fractal services running locally on a given set of ports (fractal-server on port 8000, fractal-web on port 5173, fractal-data on port 3000).
If you do not need all of this, run via
export FRACTAL_FEATURE_EXPLORER_CONFIG=./example-config-files/local-config.toml
pixi run uvicorn fractal_feature_explorer.app:app --host 0.0.0.0 --port 8501
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.
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
License and contributors
The Fractal project is developed by the BioVisionCenter at the University of Zurich, who contracts eXact lab s.r.l. for software engineering and development support.
Unless otherwise specified, Fractal components are released under the BSD 3-Clause License, and copyright is with the BioVisionCenter at the University of Zurich.
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.18.tar.gz.
File metadata
- Download URL: fractal_feature_explorer-0.1.18.tar.gz
- Upload date:
- Size: 155.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8cfd12922887f382d5cb97f2676bc73f279558d62e0e82bf487f1909088c020
|
|
| MD5 |
e5325a93ed47fcf46977f3c804a7ba8f
|
|
| BLAKE2b-256 |
b99a854f289f277f6a4c4851a24e789ceaebc9de31b5619f3e7c88463224e50e
|
Provenance
The following attestation bundles were made for fractal_feature_explorer-0.1.18.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.18.tar.gz -
Subject digest:
a8cfd12922887f382d5cb97f2676bc73f279558d62e0e82bf487f1909088c020 - Sigstore transparency entry: 1732971898
- Sigstore integration time:
-
Permalink:
fractal-analytics-platform/fractal-feature-explorer@f51e4d092cb5cf39783abbf62c9abf9e344aad50 -
Branch / Tag:
refs/tags/v0.1.18 - Owner: https://github.com/fractal-analytics-platform
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@f51e4d092cb5cf39783abbf62c9abf9e344aad50 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fractal_feature_explorer-0.1.18-py3-none-any.whl.
File metadata
- Download URL: fractal_feature_explorer-0.1.18-py3-none-any.whl
- Upload date:
- Size: 89.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e088eeeb0acdde2c6f6085366e88c7b553d8ea493b12b4c8ef6c347ec8c4462a
|
|
| MD5 |
4ac82784cd280aad42c442c83569019e
|
|
| BLAKE2b-256 |
cd9b7c88edbc0bc2f7d63d8042bb7bacf9a499682dba4cefa0a1fe1e573d86eb
|
Provenance
The following attestation bundles were made for fractal_feature_explorer-0.1.18-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.18-py3-none-any.whl -
Subject digest:
e088eeeb0acdde2c6f6085366e88c7b553d8ea493b12b4c8ef6c347ec8c4462a - Sigstore transparency entry: 1732971911
- Sigstore integration time:
-
Permalink:
fractal-analytics-platform/fractal-feature-explorer@f51e4d092cb5cf39783abbf62c9abf9e344aad50 -
Branch / Tag:
refs/tags/v0.1.18 - Owner: https://github.com/fractal-analytics-platform
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@f51e4d092cb5cf39783abbf62c9abf9e344aad50 -
Trigger Event:
push
-
Statement type: