Skip to main content

OMERO scripts

Project description

https://github.com/ome/omero-scripts/workflows/OMERO/badge.svg 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.

In the directory | should be scripts which … |
—————- | ——————— |
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 |
hcs_scripts | work with screens/plates/wells rather than just images |
import_scripts | are run on images after import for extra processing |
processing_scripts | create new images from existing images or other data |
setup_scripts | are executed once, often by administrators, to configure OMERO itself |
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 http://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

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-scripts-5.6.2.tar.gz (83.0 kB view details)

Uploaded Source

Built Distribution

omero_scripts-5.6.2-py3-none-any.whl (107.5 kB view details)

Uploaded Python 3

File details

Details for the file omero-scripts-5.6.2.tar.gz.

File metadata

  • Download URL: omero-scripts-5.6.2.tar.gz
  • Upload date:
  • Size: 83.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.13

File hashes

Hashes for omero-scripts-5.6.2.tar.gz
Algorithm Hash digest
SHA256 8e74198a5bae25dd9a26397d1e3a3d01cbbb402e87d41832e2fdce44db943dc8
MD5 ee28c95c2dea5aebe42ec82e1c7fdcad
BLAKE2b-256 ed0f8f3f1806e414df0c0228383f262dca20b5ef6520a5d0c8680111a7eacbe7

See more details on using hashes here.

File details

Details for the file omero_scripts-5.6.2-py3-none-any.whl.

File metadata

  • Download URL: omero_scripts-5.6.2-py3-none-any.whl
  • Upload date:
  • Size: 107.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.13

File hashes

Hashes for omero_scripts-5.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ab015f35a866f62a51a1d560c127160d277b2450e2a9f286eef8d166d27101aa
MD5 443cb28b19fe2e24a22bab3c860035d7
BLAKE2b-256 89f369a767db778751156cef26ab4c3a7fc633f462e7909fef273b0b0a194277

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