Package omero :: Module tables
[hide private]
[frames] | no frames]

Module tables

source code

Classes [hide private]
  HdfList
Since two calls to tables.openFile() return non-equal files with equal fileno's, portalocker cannot be used to prevent the creation of two HdfStorage instances from the same Python process.
  HdfStorage
Provides HDF-storage for measurement results.
  TableI
Spreadsheet implementation based on pytables.
  TablesI
Implementation of the omero.grid.Tables API.
Functions [hide private]
 
slen(rv)
Returns the length of the argument or None if the argument is None
source code
 
stamped(func, update=False)
Decorator which takes the first argument after "self" and compares that to the last modification time.
source code
Variables [hide private]
  sys = __import__("sys")
  tables = __import__("tables")
  HDFLIST = HdfList()

Imports: os, Ice, time, numpy, signal, logging, threading, traceback, subprocess, exceptions, portalocker, path, omero, remoted, locked, perf, wraps


Function Details [hide private]

stamped(func, update=False)

source code 

Decorator which takes the first argument after "self" and compares that to the last modification time. If the stamp is older, then the method call will throw an omero.OptimisticLockException. Otherwise, execution will complete normally. If update is True, then the last modification time will be updated after the method call if it is successful.

Note: stamped implies locked