The Gaudi Framework  v33r1 (b1225454)
GaudiHive.precedence Namespace Reference

Classes

class  CruncherSequence
 
class  RealTimeValue
 
class  RndBiasedBooleanValue
 
class  UniformBooleanValue
 
class  UniformTimeValue
 

Functions

def _buildFilePath (filePath)
 

Function Documentation

◆ _buildFilePath()

def GaudiHive.precedence._buildFilePath (   filePath)
private

Definition at line 23 of file precedence.py.

23 def _buildFilePath(filePath):
24 
25  if not os.path.exists(filePath):
26  __fullFilePath__ = os.path.realpath(
27  os.path.join(
28  os.environ.get('GAUDIHIVEROOT', ''), "data", filePath))
29  if not os.path.exists(__fullFilePath__):
30  print(
31  "\nERROR: invalid file path '%s'. It must be either absolute, or relative to '$GAUDIHIVEROOT/data/'."
32  % filePath)
33  sys.exit(1)
34  else:
35  __fullFilePath__ = filePath
36 
37  return __fullFilePath__
38 
39 
def _buildFilePath(filePath)
Definition: precedence.py:23