7 if tag.upper()
in [
'NEXT',
'CURRENT']:
9 if '/afs/cern.ch/user/a/atlcond/utils/python/' not in sys.path:
10 sys.path.append(
'/afs/cern.ch/user/a/atlcond/utils/python/')
11 from AtlCoolBKLib
import resolveAlias
12 if tag.upper()==
"NEXT":
13 theTag=resolveAlias.getNext()
15 theTag=resolveAlias.getCurrent()
16 theTag=theTag.replace(
'*',
'ST')
17 print (tag,
"resolves to", theTag)
18 folder_tag=folder.resolveTag(theTag)
19 if folder_tag!=theTag:
20 print (theTag,
"resolves to", folder_tag)