Skip to content

Commit

Permalink
Merge pull request #70 from McTavishLab/ejmdev
Browse files Browse the repository at this point in the history
citation fix
  • Loading branch information
snacktavish committed Oct 23, 2019
2 parents 53e14f0 + f5aa209 commit 1f5d690
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 @@ -98,7 +98,7 @@ def get_tree_from_synth(ott_ids, label_format="name", citation="cites.txt"):
return None
cites = ''
sys.stdout.write("gathering citations")
for study in resp['supporting_studies']:
for study in res.json()['supporting_studies']:
sys.stdout.write('.')
study = study.split('@')[0]
query = {"ot:studyId":study}
Expand Down

0 comments on commit 1f5d690

Please sign in to comment.