Skip to content

Commit

Permalink
fix detection of GLOBAL for crafting effort CrEperAlg
Browse files Browse the repository at this point in the history
  • Loading branch information
nikohansen committed May 29, 2022
1 parent 6ec4641 commit cd0daff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code-postprocessing/cocopp/compall/pprldmany.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,8 @@ def main(dictAlg, order=None, outputdir='.', info='default',
CrEperAlg = {}
for alg in algorithms_with_data:
CrE = 0.
if 1 < 3 and dictAlg[alg][0].algId == 'GLOBAL':
if 1 < 3 and str(dictAlg[alg][0].algId).startswith('GLOBAL') and (
not dictAlg[alg][0].indexFiles or '_pal' in dictAlg[alg][0].indexFiles[0]):
tmp = dictAlg[alg].dictByNoise()
assert len(tmp.keys()) == 1
if list(tmp.keys())[0] == 'noiselessall':
Expand Down

0 comments on commit cd0daff

Please sign in to comment.