aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rwxr-xr-xpython/filter_scored_matches.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/filter_scored_matches.py b/python/filter_scored_matches.py
index 900374d..3654b87 100755
--- a/python/filter_scored_matches.py
+++ b/python/filter_scored_matches.py
@@ -89,8 +89,8 @@ def process_group(rows):
l = keepers.get(sha1, list())
l.append(doi)
keepers[sha1] = l
- for value in keepers.values():
- print("{}\t{}".format(sha1, json.dumps(value)))
+ for sha1, doi_list in keepers.items():
+ print("{}\t{}".format(sha1, json.dumps(doi_list)))
def run():