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