From 6172ea3e7439047a5a77fd82d37fb365fe383b23 Mon Sep 17 00:00:00 2001 From: Julia Mullen Date: Tue, 11 Jan 2022 19:36:13 -0500 Subject: [PATCH] remove testing setting --- parser.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/parser.py b/parser.py index 05a8e9a..3a5bba2 100644 --- a/parser.py +++ b/parser.py @@ -111,10 +111,8 @@ def fetch_data(): collected_dois.remove(None) logger.info(f"initial total {total}, latest total {new_total}, actually collected {len(collected_dois)}") -import pickle def load_annotations(): - #pubs = [parse_item(rec) for rec in fetch_data()] - pubs = pickle.load(open('outp.p', 'rb')) + pubs = [parse_item(rec) for rec in fetch_data()] Addendum.biorxiv_corrector().update(pubs) Addendum.topic_adder().update(pubs) Addendum.altmetric_adder().update(pubs)