Skip to main content

A Python plugin for OMERO.web

Project description

https://travis-ci.org/ome/omero-iviewer.svg?branch=master https://badge.fury.io/py/omero-iviewer.svg

OMERO.iviewer

An OMERO.web app for visualizing images in OMERO.

Requirements

  • OMERO 5.6.0 or newer.

Installing from PyPI

This section assumes that an OMERO.web is already installed.

Install the app using pip:

NB: You need to ensure that you are running pip from the python environment where omero-web is installed. Depending on your install, you may need to call pip with, for example: /path/to/venv/bin/pip install ...

$ pip install -U omero-iviewer

Add iviewer custom app to your installed web apps:

$ omero config append omero.web.apps '"omero_iviewer"'

To replace the default omero.web viewer:

$ omero config set omero.web.viewer.view omero_iviewer.views.index

To enable the “open with” feature:

$ omero config append omero.web.open_with '["omero_iviewer", "omero_iviewer_index",
  {"supported_objects":["images", "dataset", "well"],
   "script_url": "omero_iviewer/openwith.js", "label": "OMERO.iviewer"}]'

If you want to redirect /iviewer/ URLs to instead use /webclient/img_detail/ID so that a different viewer configured at omero.web.viewer.view is used then use the config below. This will redirect /iviewer/?images=12,34 to /webclient/img_detail/12/?images=12,34, /iviewer/?roi=56 to /webclient/img_detail/IMAGE_ID/?roi=56 (same for shape) and /iviewer/?well=78 to /webclient/img_detail/IMAGE_ID/?images=ID1,ID2,... where ID1, ID2, etc are the images in the well.

$ omero config set omero.web.iviewer.redirect_iviewer True

Now restart OMERO.web as normal.

Usage

A guide to using OMERO.iviewer can be found on https://omero-guides.readthedocs.io/en/latest/iviewer/docs/iviewer.html

License

OMERO.iviewer is released under the AGPL.

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

omero_iviewer-0.17.0.tar.gz (762.6 kB view details)

Uploaded Source

Built Distribution

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

omero_iviewer-0.17.0-py3-none-any.whl (822.9 kB view details)

Uploaded Python 3

File details

Details for the file omero_iviewer-0.17.0.tar.gz.

File metadata

  • Download URL: omero_iviewer-0.17.0.tar.gz
  • Upload date:
  • Size: 762.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for omero_iviewer-0.17.0.tar.gz
Algorithm Hash digest
SHA256 96aa4cf5d9bac2a61a95ac3a457189119fe28bb81eb86474901389eaeffd3a25
MD5 a9a9501ad07cdfde6065b4c73bfa32d5
BLAKE2b-256 0aa5be5b391ab445e74ea97c5f16564ece68b85a861ddb61798012f5b7d788f5

See more details on using hashes here.

File details

Details for the file omero_iviewer-0.17.0-py3-none-any.whl.

File metadata

  • Download URL: omero_iviewer-0.17.0-py3-none-any.whl
  • Upload date:
  • Size: 822.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for omero_iviewer-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b6bdb1d406ad4dee8a8374a0ae3b208f6ca64d32ba8ba894ab867ca8778acd1
MD5 89cc787b4162ac9124fd3881c5279fc9
BLAKE2b-256 e5a315200caca1461304f56d6aa4badd5a85dd6d08390b0703aa94377671871a

See more details on using hashes here.

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