Skip to content
Snippets Groups Projects
Commit 80e638da authored by James Beacham's avatar James Beacham Committed by Atlas Nightlybuild
Browse files

Merge branch '21.0-physval' into '21.0'

physval display fix

See merge request atlas/athena!6956

(cherry picked from commit 65e6b321 [formerly 68f1fb68579298cf0d72bce55a9ffab71f589bde])

093e43db offsetting result indexes

Former-commit-id: 34381717
parent a4b4d225
No related merge requests found
......@@ -536,17 +536,17 @@ def makeOneHistFile( htmlDir, name, subname, sp, runlistLoc, compare ):
extra-=2
elif cc<len(sp)-1 and 'inputname' not in sp[cc]:
if currentHeading == 'results':
namecache.append(sp[cc])
namecache.append(sp[cc-2])
if ':' not in sp[cc]:
cc+=1
extra-=1
continue
else:
name = ' '.join(namecache)
name = ' '.join([namecache[-1]])
namecache = []
import urllib
resultname = name.rsplit(':', 1)[0]
resultval = sp[cc+1]
resultval = sp[cc-1]
if algorithm == 'RepeatAlgorithm' and resultname.endswith('|Status'):
resultval = {'1': 'Red', '2': 'Yellow', '3': 'Green'}[resultval]
if compare and run != None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment