Skip to main content

OMERO webtagging autotag app

Project description

https://github.com/German-BioImaging/omero-autotag/workflows/PyPI/badge.svg https://badge.fury.io/py/omero-autotag.svg

OMERO.autotag

OMERO.autotag is a plugin for OMERO.web that automates the application of tags to images based on the original filename, path, and extensions of the images.

This was formerly part of OMERO.webtagging, the umbrella name for tools developed to enhance use of text annotations (tags) in OMERO.

Requirements

As Python 2 has now reached end-of-life, OMERO 5.6 now requires Python 3. With release 3.1.0 of autotag, the following are now required. To use autotag on older OMERO systems (running Python 2), please use versions older than 3.1.0.

  • Python 3.8 or later

  • omero-web 5.6 or later

  • django 4.2 or later

User Documentation

http://help.openmicroscopy.org/web-tagging.html

Installation

The recommended way to install autotag is using pip, but it is also possible to install it manually as described here.

# In the python environment of OMERO.web (virtualenv or global)
pip install omero-autotag

# Add autotag to webclient
omero config append omero.web.apps '"omero_autotag"'

# Add autotag to centre panel
omero config append omero.web.ui.center_plugins '["Auto Tag", "omero_autotag/auto_tag_init.js.html", "auto_tag_panel"]'

Upgrade from omero-webtagging-autotag to omero-autotag

Since 3.2.2, the package was renamed to omero-autotag. This is a breaking change for OMERO.web, as the old package must be removed from the OMERO.web config and replaced by the new package.

You can perform the upgrade as follow:

# stop omero web
# Install the new package and uninstall the old one
pip uninstall omero-webtagging-autotag
pip install omero-autotag

# Then open the OMERO.web configuration editor
omero config edit
# Update the two configurations called 'omero.web.apps' and 'omero.web.ui.center_plugins'
# In 'omero.web.apps': 'omero_webtagging_autotag' -> 'omero_autotag'
# In 'omero.web.ui.center_plugins': '["Auto Tag", "omero_webtagging_autotag/auto_tag_init.js.html", "auto_tag_panel"]' -> '["Auto Tag", "omero_autotag/auto_tag_init.js.html", "auto_tag_panel"]'
# start omero web

Note that installing the latest omero-webtagging-autotag is not functional but has a dependency on omero-autotag. Thus, if you wish to use the old version omero-webtagging-autotag, make sure to specify the latest working version:

# ONLY IF YOU WANT TO USE AN OLDER VERSION OF THE PLUGIN
# stop omero web
pip install omero-webtagging-autotag==3.2.0
# And set the configuration accordingly
# start omero web

Documentation

Available on the OMERO website.

Development

Uses node and webpack.

This will detect changes and rebuild static/autotag/js/bundle.js when there are any. This works in conjunction with django development server as that will be monitoring bundle.js for any changes.

To build the node components on changes

cd omero_webtagging_autotag
npm install
node_modules/webpack/bin/webpack.js --watch

To install using pip in development mode (in appropriate virtualenv)

# In the top-level autotag directory containing setup.py
pip install -e .
cd $OMERO_PREFIX

OMERO development server can then be started in the usual way. Remember to configure the autotag settings the same as above.

Project Maintenance

In 2014 as a part of the OME consortium, [Douglas Russell](http://github.com/dpwrussell) created OMERO.webtagging and handed over maintainence and development to German Bioimaging in September 2023.

Acknowledgements

OMERO.webtagging was created by Douglas P. W. Russell (dpwrussell@gmail.com) while at Oxford University and Harvard Medical School, then later extended by DPWR Consulting Ltd.

These plugins were developed originally with the support of Micron Advanced Bioimaging Unit funded by the Wellcome Trust Strategic Award 091911, and Open Microscopy.

Continued development was supported by The Laboratory of Systems Pharmacology, Harvard Medical School and Research Computing, Harvard Medical School.

Continued development was sponsored by Micron Advanced Bioimaging Unit funded by the Wellcome Trust Strategic Award 107457.

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_autotag-4.3.0.tar.gz (226.4 kB view details)

Uploaded Source

Built Distribution

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

omero_autotag-4.3.0-py3-none-any.whl (225.0 kB view details)

Uploaded Python 3

File details

Details for the file omero_autotag-4.3.0.tar.gz.

File metadata

  • Download URL: omero_autotag-4.3.0.tar.gz
  • Upload date:
  • Size: 226.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for omero_autotag-4.3.0.tar.gz
Algorithm Hash digest
SHA256 094a245d32a449840df5c2b0ef0c753cec46145eef96361069c0b4a2509f54b2
MD5 2a6d88497947e61e30fe8f5d6de2b9b9
BLAKE2b-256 3c76c02222b6eae7dda2b2fb74643c086b5799275f5a2f79ef413d58b7838e21

See more details on using hashes here.

File details

Details for the file omero_autotag-4.3.0-py3-none-any.whl.

File metadata

  • Download URL: omero_autotag-4.3.0-py3-none-any.whl
  • Upload date:
  • Size: 225.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for omero_autotag-4.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f29829d8f1b16c14dc69b62d9ff25cad51a195121de50a54066d804dd20b553c
MD5 eba1e01a4814fff44c4e9cf631f6db28
BLAKE2b-256 51b654beb952b5076dabf28ccce2c464c83f9923ac9a6b1219e56c30df3031c0

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