The Gaudi Framework  v31r0 (aeb156f0)
GaudiHive.precedence Namespace Reference

Classes

class  CruncherSequence
 
class  RealTimeValue
 
class  RndBiasedBooleanValue
 
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(
16  os.path.join(
17  os.environ.get('GAUDIHIVEROOT', ''), "data", filePath))
18  if not os.path.exists(__fullFilePath__):
19  print "\nERROR: invalid file path '%s'. It must be either absolute, or relative to '$GAUDIHIVEROOT/data/'." % filePath
20  sys.exit(1)
21  else:
22  __fullFilePath__ = filePath
23 
24  return __fullFilePath__
25 
26 
def _buildFilePath(filePath)
Definition: precedence.py:12