27 if not os.path.exists(filePath):
28 __fullFilePath__ = os.path.realpath(
30 os.environ.get(
"ENV_PROJECT_SOURCE_DIR",
""),
36 if not os.path.exists(__fullFilePath__):
37 __fullFilePath__ = os.path.realpath(
39 os.environ.get(
"ENV_PROJECT_SOURCE_DIR",
""),
46 if not os.path.exists(__fullFilePath__):
48 "\nERROR: invalid file path '%s'. "
49 "It must be either absolute, or relative to "
50 "'$ENV_PROJECT_SOURCE_DIR/GaudiHive/data/' or to "
51 "'$ENV_PROJECT_SOURCE_DIR/Gaudi/GaudiHive/data/'." % filePath
55 __fullFilePath__ = filePath
57 return __fullFilePath__