Package omero :: Package util :: Module populate_metadata
[hide private]
[frames] | no frames]

Module populate_metadata

source code

Populate bulk metadata tables from delimited text files.

Classes [hide private]
  Skip
Instance to denote a row skip request.
  MetadataError
Raised by the metadata parsing context when an error condition is reached.
  HeaderResolver
Header resolver for known header names which is responsible for creating the column set for the OMERO.tables instance.
  ValueResolver
Value resolver for column types which is responsible for filling up non-metadata columns with their OMERO data model identifiers.
  ParsingContext
Generic parsing context for CSV files.
Functions [hide private]
 
usage(error)
Prints usage so that we don't have to.
source code
 
parse_target_object(target_object) source code
Variables [hide private]
  log = logging.getLogger("omero.util.populate_metadata")
  thread_pool = None
hash(x)
  PLATE_NAME_COLUMN = 'Plate Name'
  WELL_NAME_COLUMN = 'Well Name'

Imports: exceptions, tempfile, logging, time, sys, csv, re, Thread, StringIO, getpass, getopt, GetoptError, Queue, omero, rdouble, rstring, rint, DatasetAnnotationLink, DatasetI, FileAnnotationI, OriginalFileI, PlateI, PlateAnnotationLinkI, ScreenI, ScreenAnnotationLinkI, ImageColumn, LongColumn, PlateColumn, StringColumn, WellColumn, create_path, remove_path, client, ThreadPool, XML, Element, SubElement, ElementTree, dump, iterparse


Function Details [hide private]

usage(error)

source code 

Prints usage so that we don't have to. :)