# HG changeset patch # User Henry S. Thompson # Date 1621977604 14400 # Node ID a01ff74f9fd70effc1124f8bc536cadba548311c # Parent 672621ab4db422a944ea92fc474fc096d730be32 fix accumulator bug in Lava.__init__ diff -r 672621ab4db4 -r a01ff74f9fd7 python/safe.py --- a/python/safe.py Tue May 25 17:19:00 2021 -0400 +++ b/python/safe.py Tue May 25 17:20:04 2021 -0400 @@ -49,7 +49,7 @@ for l in lava: x=[float(i) for i in l.split('\t')[2].split(',')] k=(x[0],x[2]) - kk=ll.get(k,list()) + kk=ll.setdefault(k,list()) kk.append(x) L=Lava('lava.tsv')