Skip to content

Commit

Permalink
include doi
Browse files Browse the repository at this point in the history
  • Loading branch information
snacktavish committed Aug 9, 2019
1 parent 7108117 commit 6c8a811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion physcraper/opentree_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_tree_from_synth(ott_ids, label_format="name", citation="cites.txt",):
query = {"ot:studyId":study}
new_cite = oti.find_studies(query_dict = query, verbose=True)
#print new_cite[0].keys()
cites = cites + '\n' + to_string(new_cite[0]['ot:studyPublicationReference']) + ew_cite[0]['ot:studyPublication']
cites = cites + '\n' + to_string(new_cite[0]['ot:studyPublicationReference']) + new_cite[0]['ot:studyPublication']
# cites = cites + '\n' +phylesystemref + synthref
with open(citation,'w') as citfile:
citfile.write(cites)
Expand Down

0 comments on commit 6c8a811

Please sign in to comment.