Browse Source

bug fix

master
sipp11 11 years ago
parent
commit
091fc67a50
  1. 2
      s1.py

2
s1.py

@ -36,7 +36,7 @@ def get_rank_thing(filename, **kwargs):
if result: if result:
# print(u'%s > %s' % (r[0], list(result))) # print(u'%s > %s' % (r[0], list(result)))
count += 1 count += 1
owriter.writerow([','.join(list(result)), cnt] + w) owriter.writerow([mn, ','.join(list(result)), cnt] + w)
if cnt not in model_count[mn]: if cnt not in model_count[mn]:
model_count[mn][cnt] = set() model_count[mn][cnt] = set()
model_count[mn][cnt] = model_count[mn][cnt].union(result) model_count[mn][cnt] = model_count[mn][cnt].union(result)

Loading…
Cancel
Save