Skip to main content

A Dashboard for exploring features in OME-Zarr datasets.

Project description

fractal-feature-explorer

License PyPI Python Version CI

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: either Plates or Images. 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

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 the pixi.lock, a new lock will be created when your run the dashboard again.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fractal_feature_explorer-0.1.7.tar.gz (147.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fractal_feature_explorer-0.1.7-py3-none-any.whl (86.8 kB view details)

Uploaded Python 3

File details

Details for the file fractal_feature_explorer-0.1.7.tar.gz.

File metadata

  • Download URL: fractal_feature_explorer-0.1.7.tar.gz
  • Upload date:
  • Size: 147.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fractal_feature_explorer-0.1.7.tar.gz
Algorithm Hash digest
SHA256 8629ec7956860e95d5c25af50e4fd4c89b6bedf00e377e820d6add583d88f8df
MD5 b0d392aec3d75f0356aa005342b43654
BLAKE2b-256 66bc591b3ec0a8ee5d47c580306ad685a19d966214c7e0e94806632d29467d60

See more details on using hashes here.

Provenance

The following attestation bundles were made for fractal_feature_explorer-0.1.7.tar.gz:

Publisher: ci.yml on fractal-analytics-platform/fractal-feature-explorer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fractal_feature_explorer-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for fractal_feature_explorer-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d126a1026ffa42c7016ce222020d85accd93bf36fb6c03305f74e8f1a5150409
MD5 c50d8b49f3ec5879f97abaf10a607d4d
BLAKE2b-256 80d3f5aa61a12a58ca0f7a7307125fb7e2896f8e5802cde46e38e47bac694330

See more details on using hashes here.

Provenance

The following attestation bundles were made for fractal_feature_explorer-0.1.7-py3-none-any.whl:

Publisher: ci.yml on fractal-analytics-platform/fractal-feature-explorer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page