Function for enabling/disabling the bzip2.dll which comes with PyTables.
Copyright 2009 Glencoe Software, Inc. All rights reserved. Use is subject to license terms supplied in LICENSE.txt
Renames the bzip2.dll library which comes with PyTables.
Parser for the omero.properties file to generate RST mark up.
Bases: object
Bases: object
Append line to property description
Bases: object
Parse the properties from the input configuration file
Parse the properties from the setting module
Print all keys and their default values
Print headers and number of keys
Print all keys
Print configuration in reStructuredText format
Create underline for reStructuredText headings
Automatic configuration of memory settings for Java servers.
Bases: omero.install.jvmcfg.Strategy
Simplest strategy which assumes all values have been set and simply uses them or their defaults.
Bases: omero.install.jvmcfg.Strategy
Strategy based on a percent of available memory.
Re-calculates the appropriate heap size based on the value of get_percent(). The “active” memory returned by method() will be used by default, but can be modified to use “total” via the “use_active” flag.
Uses the results of the default settings of calculate_heap_size() as an argument to get_heap_size(), in other words some percent of the active memory.
Bases: object
Container for the config options found in etc/grid/config.xml
Bases: object
Strategy for calculating memory settings. Primary class of the memory module.
Returns a tuple, in MB, of available, active, and total memory.
“total” memory is found by calling to first a Python library (if installed) and otherwise a Java class. If “system_memory” is set, it will short-circuit both methods.
“active” memory is set to “total” but limited by “min_system_memory” and “max_system_memory”.
“available” may not be accurate, and in some cases will be set to total.
Bases: dict
Takes an omero.config.ConfigXml object and adjusts the memory settings. Primary entry point to the memory module.
Read the memory settings from the template file
For the given dictionary, return a copy of the dictionary where all entries not matching the prefix, suffix, and limit have been removed and where all remaining keys have had the prefix and suffix stripped. The limit describes the number of elements that are allowed in the new key after stripping prefix and suffix.
Bases: object
Login context which can be used by any handler for connecting to a single session.
Bases: omero.install.perf_test.Reporter
Bases: omero.install.perf_test.Reporter
Bases: object
Single line-item in the configuration file
Bases: exceptions.Exception
Bases: object
Bases: omero.install.perf_test.Reporter
Bases: object
Abstract base class of all reporters
Primary method used by the command-line execution of this module.
python helper plugin
Copyright 2016 University of Dundee. All rights reserved. Use is subject to license terms supplied in LICENSE.txt
Tests whether the client version is behind the server version. For example:
import omero
from omero_version import omero_version as client_version
client = omero.client()
session = client.createSession()
config = session.getConfigService()
server_version = config.getVersion()
upgrade = needs_upgrade(client_version, server_version)
if upgrade:
# Inform client
Alternatively, from the command-line:
./versions.py --quiet 4.1.0 4.2.0-DEV || echo upgrade
Function for setting the working directory for an Omero installation on Windows, since relative paths are not supported.
Copyright 2009 Glencoe Software, Inc. All rights reserved. Use is subject to license terms supplied in LICENSE.txt
author: | Josh Moore <josh@glencoesoftware.com> |
---|
Parses the Windows cfg and xml files and replaces the default “c:omero_dist” with the given value.
windows helper plugin
Copyright 2009-2016 University of Dundee. All rights reserved. Use is subject to license terms supplied in LICENSE.txt
Support for Windows will be removed