ATLAS Offline Software
Functions
python._resolve_data_path Namespace Reference

Functions

def resolve_data_path (fin)
 

Function Documentation

◆ resolve_data_path()

def 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
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