Skip to main content

A Python plugin for OMERO.web to display database pages

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-database-pages-0.0.23.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

omero_database_pages-0.0.23-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file omero-database-pages-0.0.23.tar.gz.

File metadata

  • Download URL: omero-database-pages-0.0.23.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for omero-database-pages-0.0.23.tar.gz
Algorithm Hash digest
SHA256 58bd310f58bc07b83d91d76ee7fb5c1367d76eab4c2cacc666f47fb8c176fa79
MD5 cc5ef7245613e870a0476c7db41e2a47
BLAKE2b-256 bb01dc5ed11a33dbf764fa34152167ff3d5e9a002dd5b8c0a6f5238666e0f8a1

See more details on using hashes here.

File details

Details for the file omero_database_pages-0.0.23-py3-none-any.whl.

File metadata

File hashes

Hashes for omero_database_pages-0.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 280b20d96b1f45d081dbc1409c0de5e3192008c30a7d6d9122d2060cd5ffc156
MD5 74589a14e471f068854fa3098a3fb0fa
BLAKE2b-256 96451cdd2c0c746a49b3468225db9ba0a23e89619aff2f6a9e364108db3adb31

See more details on using hashes here.

Supported by

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