The Gaudi Framework  v32r2 (46d42edc)
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 13 of file precedence.py.

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