Skip to main content
https://github.com/ome/omero-scripts/workflows/OMERO/badge.svg https://readthedocs.org/projects/omero-scripts/badge/?version=stable https://badge.fury.io/py/omero-scripts.svg

OMERO Core Scripts

This directory contains OMERO scripts which use the OMERO.scripts API. All scripts (e.g. *.py) present in the directory will be automatically distributed with all binary builds. Which file-endings will be detected and how they will be launched are both configured centrally in the server. .py, .jy, and .m (MATLAB) files should all be detected by default starting with OMERO 5.

Categories

Scripts are separated into several categories, one per directory.

Directory

Description

analysis_scripts

crunch images to produce numerical results and similar tasks

export_scripts

take one or more images as an input, and produce a representation for exchange

figure_scripts

take one or more images as an input, and produce a summary representation

import_scripts

are run on images after import for extra processing

util_scripts

perform other miscellaneous tasks like cleaning up or optimizing OMERO itself

Scripts which would like to rely on other scripts can use:

import omero.<sub_dir>.<script_name>

For this to work, the official script in question must be properly importable, i.e.:

def run():
    client = omero.scripts.client(...)

if __name__ == "__main__":
    run()

OMERO User Scripts

If you would like to provide your own scripts for others to install into their OMERO installations, please see https://openmicroscopy.org/info/scripts

Testing

Integration tests under test/ require an OMERO server with scripts installed. The tests are run by Travis for open PRs using omero-test-infra to deploy OMERO via Docker containers.

To run tests locally:

# All tests
$ python setup.py test

# Single test in a single file
$ python setup.py test -t test/integration/test_util_scripts.py -k test_dataset_to_plate

Usage

See https://omero-scripts.readthedocs.io/en/stable/

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.s essential.

The CI pipeline will automatically deploy the tag onto PyPI.

Release files for omero-scripts 5.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omero-scripts 5.10.0
File Size Uploaded
omero_scripts-5.10.0.tar.gz 102.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for omero-scripts 5.10.0
File Interpreter ABI Platform
omero_scripts-5.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 239.3 kB

Release files / omero_scripts-5.10.0.tar.gz

Download URL omero_scripts-5.10.0.tar.gz
Size 102.4 kB
Tags Source
SHA-256 checksum
How to use checksums
feea78ba18478705e6bb74f8381322890c28facd673ac7cfada92e2c86214600
BLAKE2b-256 checksum
How to use checksums
8c19d4315c3e7feebf62b6e92ea58666917828983aa9d044e8d391d30bdc8b0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / omero_scripts-5.10.0-py3-none-any.whl

Download URL omero_scripts-5.10.0-py3-none-any.whl
Size 137.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02aa70962271169cdadf52190059e4b51732de0784afb936879723b276e16ac7
BLAKE2b-256 checksum
How to use checksums
f9945c48198621bb0f68eceb2598d267b3bece6b65ba710176f53b71a7924b44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

5.10.0 This release

2 release files

5.9.1

2 release files

5.9.0

2 release files

5.8.3

2 release files

5.8.2

2 release files

5.8.1

2 release files

5.8.0

2 release files

5.7.3

2 release files

5.7.2

2 release files

5.7.1

2 release files

5.7.0

2 release files

5.6.2

2 release files

5.6.1

2 release files

5.6.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page