Skip to content

Commit

Permalink
remove testing setting
Browse files Browse the repository at this point in the history
  • Loading branch information
juliamullen committed Jan 12, 2022
1 parent 49f3bbc commit 6172ea3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6172ea3

Please sign in to comment.