Skip to main content

A Python plugin for OMERO.web to display imports database page

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-imports-database-page-0.0.6.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file omero-imports-database-page-0.0.6.tar.gz.

File metadata

File hashes

Hashes for omero-imports-database-page-0.0.6.tar.gz
Algorithm Hash digest
SHA256 4e3817dd918247d8ff43d9e329bf2f8ab3618a74c11d70f935da23e3b8b97204
MD5 018a21f18199a9603854af7fd87f7750
BLAKE2b-256 07b0806d430fd8c8da0bca2083e322ba9ca24702e4ae079befe91e5ae26f336f

See more details on using hashes here.

File details

Details for the file omero_imports_database_page-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for omero_imports_database_page-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f6c7b23443e1fdfe161a21a8e607db4c98502e3c531bbc52c3e738270a163f85
MD5 165a0d3f286898a95311763486c52f33
BLAKE2b-256 8e5b0ee5a3add43c4a5dcff852d078a758f91fcc2796af48bc56df2de500e14f

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