Skip to main content

A Python plugin for OMERO.web

Project description

https://travis-ci.org/ome/omero-webtest.svg?branch=master 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.2.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:

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

Optional: install example webclient plugins:

$ bin/omero config append omero.web.ui.right_plugins '["ROIs", "webtest/webclient_plugins/right_plugin.rois.js.html", "image_roi_tab"]'
$ bin/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.

Warning:

OMERO.webtest version 0.2.x requires OMERO.web 5.2.6 or newer. This is due to Django Framework compatibility and to a required package reorganization in OMERO.webtest in version 0.2.0 so the application can be distributed from Python Package Index PyPI.

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.

License

OMERO.webtest is released under the AGPL.

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.dev1.tar.gz (59.6 kB view details)

Uploaded Source

File details

Details for the file omero-webtest-0.4.dev1.tar.gz.

File metadata

  • Download URL: omero-webtest-0.4.dev1.tar.gz
  • Upload date:
  • Size: 59.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.7

File hashes

Hashes for omero-webtest-0.4.dev1.tar.gz
Algorithm Hash digest
SHA256 51f2648de33d698b7cf44144c8a547fc50b7d1e6a5552296fac8621de89b1e8d
MD5 ce82d7bf14e6df45ded7c97df7b92698
BLAKE2b-256 01741030859d2f2a5b47de55c5444b90a0f9582300fc7e24b2fa7d97342edcdb

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