Package iceprod :: Package core :: Module ipxml
[hide private]
[frames] | no frames]

Module ipxml

source code

A module for overloading xml functions copyright (c) 2009 the icecube collaboration


Version: $Revision: 1.0 $

Date: $Date: $

Author: Juan Carlos Diaz Velez <juancarlos@icecube.wisc.edu>

To Do: Add metadata reader to load and update files

Functions [hide private]
 
fixed_writexml(self, writer, indent='', addindent='', newl='') source code
 
myPrettyPrint(root, stream=None, encoding='UTF-8', indent='\t', preserveElements=None)
Default xml prettyprinter in the absence of _xmlplus
source code
 
myPrint(root, stream=None, encoding='UTF-8')
Default xml printer in the absence of _xmlplus
source code
 
getDOMImplementation() source code
 
Parse(stream, ownerDocument=None, validate=0, keepAllWs=0, catName=None, saxHandlerClass=None, parser=None)
Default xml parser in the absence of _xmlplus
source code
 
Evaluate(expr, contentNode=None, context=None)
Default xml xpath evaluator in the absence of _xmlplus
source code
Variables [hide private]
  logger = logging.getLogger('xml')
  _hasSax2 = True
  _hasXpath = True
  DatasetTypes = ['TEST', 'BENCHMARK', 'PHYSICS', 'TEMPLATE']
  SimulationCategories = ['CORSIKA-ice-top', 'CORSIKA-in-ice', '...
  SupportedTypes = ['bool', 'int', 'long', 'float', 'double', 's...
  TASK_CHECKSUM_SUFFIX = '.md5sum'
  TASK_CLEANUP_FAILED = 110
  TASK_CONFIGURATION_ERROR = 101
  TASK_DATASET_ERROR_ID = -1
  TASK_ERROR_ID = -1
  TASK_EXTERNS_FAILED = 108
  TASK_EXTERN_ITER = -1
  TASK_FETCH_INPUT_FAILED = 102
  TASK_INVALID = 104
  TASK_NOT_FOUND = 103
  TASK_RUN_EXCEPTION = 109
  TASK_SERVER_ERROR = 105
  TASK_STORE_OUTPUT_FAILED = 106
  TASK_TRASHCAN_NAME = 'trashcan'
  TASK_UNPACK_INPUT_FAILED = 107
  TASK_XFER_CONFIG_ERROR = 112
  TASK_XFER_PROTO_ERROR = 111
  UndefinedTypeException = 'Error: invalid type:'
  UnmetDependencyException = 'Error: Un-met dependency:'
  VectorTypes = ['boolv', 'intv', 'longv', 'floatv', 'doublev', ...
  tver = '$Revision: 1.4 $'
Variables Details [hide private]

SimulationCategories

Value:
['CORSIKA-ice-top',
 'CORSIKA-in-ice',
 'neutrino-generator',
 'JULIeT',
 'simple-generator',
 'WIMP',
 'SuperNova',
 'TWRFilter',
...

SupportedTypes

Value:
['bool', 'int', 'long', 'float', 'double', 'string', 'NaT', 'OMKey']

VectorTypes

Value:
['boolv', 'intv', 'longv', 'floatv', 'doublev', 'stringv', 'OMKeyv']