ATLAS Offline Software
DataQuality
DataQualityConfigurations
python
DataQualityConfigurations/python/_resolve_data_path.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2
import
os
3
import
logging
4
logging.basicConfig()
5
6
def
resolve_data_path
(fin):
7
if
'DATAPATH'
not
in
os.environ:
8
logging.error(
'DATAPATH not found! Have you actually set up a release?'
)
9
return
None
10
for
possible_dir
in
os.environ[
'DATAPATH'
].
split
(
':'
):
11
hypo = os.path.join(possible_dir, fin)
12
if
os.path.exists(hypo):
13
return
hypo
14
return
None
python._resolve_data_path.resolve_data_path
def resolve_data_path(fin)
Definition:
DataQualityConfigurations/python/_resolve_data_path.py:6
Trk::split
@ split
Definition:
LayerMaterialProperties.h:38
Generated on Tue Jul 2 2024 21:09:36 for ATLAS Offline Software by
1.8.18