The Gaudi Framework  v30r3 (a5ef0a68)
GaudiHive.precedence Namespace Reference

Classes

class  CruncherSequence
 
class  RealTimeValue
 
class  RndBiased10BooleanValue
 
class  UniformBooleanValue
 
class  UniformTimeValue
 

Functions

def _buildFilePath (filePath)
 

Function Documentation

def GaudiHive.precedence._buildFilePath (   filePath)
private

Definition at line 12 of file precedence.py.

12 def _buildFilePath(filePath):
13 
14  if not os.path.exists(filePath):
15  __fullFilePath__ = os.path.realpath(os.path.join(
16  os.environ.get('GAUDIHIVEROOT', ''), "data", filePath))
17  if not os.path.exists(__fullFilePath__):
18  print "\nERROR: invalid file path '%s'. It must be either absolute, or relative to '$GAUDIHIVEROOT/data/'." % filePath
19  sys.exit(1)
20  else:
21  __fullFilePath__ = filePath
22 
23  return __fullFilePath__
24 
25 
def _buildFilePath(filePath)
Definition: precedence.py:12