ATLAS Offline Software
Loading...
Searching...
No Matches
python
_resolve_data_path
Functions
python._resolve_data_path Namespace Reference
Functions
resolve_data_path
(fin)
Function Documentation
◆
resolve_data_path()
python._resolve_data_path.resolve_data_path
(
fin
)
Definition at line
6
of file
DataQualityConfigurations/python/_resolve_data_path.py
.
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
split
std::vector< std::string > split(const std::string &s, const std::string &t=":")
Definition
hcg.cxx:177
Generated on
for ATLAS Offline Software by
1.14.0