A Python plugin for OMERO.web
Project description
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.
Copyright
2016-2020, The Open Microscopy Environment
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file omero-webtest-0.4.0.tar.gz
.
File metadata
- Download URL: omero-webtest-0.4.0.tar.gz
- Upload date:
- Size: 59.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 256a365e9de5821e171f8dad2ac5c67822618d77ffc1e4040e5caaa1aa006b33 |
|
MD5 | bfed0f83dbfeb2b4964e760687bafcb0 |
|
BLAKE2b-256 | 92c198f79b05958d244ff8dd83cda969033b3e8edb36c34f6c40f3ac81404a46 |
File details
Details for the file omero_webtest-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: omero_webtest-0.4.0-py3-none-any.whl
- Upload date:
- Size: 89.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40e4750311b224175953dc801e5fa896fb735088e489b1ba393c92d54dd94127 |
|
MD5 | efb4839e807feff63894573354dcc23d |
|
BLAKE2b-256 | a035e0ca9043a0a9eae3639822c0b316e222b1226b7d693f16dca344275dec89 |