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 8 of file precedence.py.

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