Skip to main content

A Python plugin for OMERO.web

Project description

https://github.com/ome/omero-webtest/workflows/OMERO/badge.svg https://badge.fury.io/py/omero-webtest.svg

OMERO.webtest

OMERO.web app for various prototypes and examples. This was removed from the main OMERO.web in the 5.0.6 release of OMERO.

Requirements

  • OMERO.web 5.6 or newer.

Installing from PyPI

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

Install the app using pip:

$ pip install omero-webtest

Add webtest custom app to your installed web apps:

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

Optional: install example webclient plugins:

$ omero config append omero.web.ui.right_plugins '["ROIs", "webtest/webclient_plugins/right_plugin.rois.js.html", "image_roi_tab"]'
$ omero config append omero.web.ui.center_plugins '["Split View", "webtest/webclient_plugins/center_plugin.splitview.js.html", "split_view_panel"]'

Now restart OMERO.web as normal.

Examples

Existing examples are available on the following URLs:

https://HOST/webtest/examples/IMAGE_ID/embed_big_image.html
https://HOST/webtest/examples/IMAGE_ID/embed_viewer.html

Note: IMAGE_ID can be obtained from public images.

New templates can be added to templates/webtest/examples. New template can benefit from dynamic variables: {{ host_name }} and {{ image_id }} passed through URL.

Included: Rendered template that can be saved locally for further testing as an absolute uri.

Release process

This repository uses bump2version to manage version numbers. To tag a release run:

$ bumpversion release

This will remove the .dev0 suffix from the current version, commit, and tag the release.

To switch back to a development version run:

$ bumpversion --no-tag [major|minor|patch]

specifying major, minor or patch depending on whether the development branch will be a major, minor or patch release. This will also add the .dev0 suffix.

Remember to git push all commits and tags.

License

OMERO.webtest 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-webtest-0.4.1.tar.gz (62.7 kB view details)

Uploaded Source

Built Distribution

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

omero_webtest-0.4.1-py3-none-any.whl (89.7 kB view details)

Uploaded Python 3

File details

Details for the file omero-webtest-0.4.1.tar.gz.

File metadata

  • Download URL: omero-webtest-0.4.1.tar.gz
  • Upload date:
  • Size: 62.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for omero-webtest-0.4.1.tar.gz
Algorithm Hash digest
SHA256 4306590d8c4f1e47cdf5e473c6e8d91aa240f758f655e1e84b6816b32f970fc5
MD5 5f559162bb2a3c2fcac0f292a1986b45
BLAKE2b-256 a9e69941d41d9a6fc8abb4e19a88dbe31581fba8f52d11507e422c334b3b1886

See more details on using hashes here.

File details

Details for the file omero_webtest-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: omero_webtest-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 89.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for omero_webtest-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ab3b9bd230df2fc0e3a267cd5560e3f33cbdb589b748a96b371a154d114d0d5
MD5 b2746bf4887d816f663d17e608bf0468
BLAKE2b-256 26598775ff9514901f1bbaf4b7d97b02fd0d62f127166f1316f84830cfe7a256

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