Module ESFixPath
[show private | hide private]
[frames | no frames]

Module ESFixPath

Collection of tools to fix arbitrary file paths wrt EventStore specifications. Please consult https://wiki.lepp.cornell.edu/CleoSWIG/bin/view/Main/EventStoreDesign web page for further reading.
Function Summary
  ESFixPath(args)
Fix paths in EventStoreDB.
  formNewPath(prefix, run, release, svName, parentList, eventType)
Form a new path according to CLEOc data path specifications: /cleo/{detector,simulated}/{event,calibration}/{daq,pass2_version}/123400/123456/{specific_version_path}
  getRelease(relList, svName)
Lookup in release list and find out a match between release name and svName.
  newParentList(sql, run, parentList)
Check every parent if it holds given run

Variable Summary
str RELPATH = '/nfs/solaris2/cleo3/Offline/rel'

Function Details

ESFixPath(args)

Fix paths in EventStoreDB. The CLEOc data path specifications: /cleo/{detector,simulated}/{event,calibration}/{daq,pass2_version}/123400/123456/{specific_version_path}

formNewPath(prefix, run, release, svName, parentList, eventType='event')

Form a new path according to CLEOc data path specifications: /cleo/{detector,simulated}/{event,calibration}/{daq,pass2_version}/123400/123456/{specific_version_path}

getRelease(relList, svName)

Lookup in release list and find out a match between release name and svName. Return empty string if no match found.

newParentList(sql, run, parentList)

Check every parent if it holds given run

Variable Details

RELPATH

Type:
str
Value:
'/nfs/solaris2/cleo3/Offline/rel'                                      

Generated by Epydoc 2.1 on Tue Jan 24 10:46:00 2006 http://epydoc.sf.net