omero.tables module

OMERO Grid Processor

class tables.TableI(*args: Any, **kwargs: Any)[source]

Bases: Table, SimpleServant

Spreadsheet implementation based on pytables.

assert_write()[source]

Checks that the current user can write to the given object at the database level. If not, no FS level writes are permitted either.

ticket:2910

check()[source]

Called periodically to check the resource is alive. Returns False if this resource can be cleaned up. (Resources API)

cleanup()[source]

Decrements the counter on the held storage to allow it to be cleaned up. Returns the current file-size.

class tables.TablesI(*args: Any, **kwargs: Any)[source]

Bases: Tables, Servant

Implementation of the omero.grid.Tables API. Provides spreadsheet like functionality across the OMERO.grid. This servant serves as a session-less, user-less resource for obtaining omero.grid.Table proxies.

The first major step in initialization is getting a session. This will block until the Blitz server is reachable.

getRepository(current=None)

Returns the Repository object for this Tables server.

tables.slen(rv)[source]

Returns the length of the argument or None if the argument is None