OpenTreeOfLife / python-opentree

Python package for working with Open Tree of Life webservices and artifacts. Importable as opentree
BSD 2-Clause "Simplified" License
8 stars 5 forks source link

No such file or directory: 'ott3.3/family.tsv' #21

Closed cfz1998 closed 2 years ago

cfz1998 commented 3 years ago

When i follow the "bird_families = taxonomy_helpers.get_ott_ids_group_and_rank(group_ott_id=aves, rank='family', taxonomy_file='ott3.3/taxonomy.tsv')" I got a error! " [Errno 2] No such file or directory: 'ott3.3/family.tsv" . How can i get the right result? Thanks a lot!

snacktavish commented 3 years ago

Sorry about that - that error is because in the previous line taxonomy_helpers.download_taxonomy_file(version = 3.2, loc = '../..') I neglected to update the tutorial to use the most recent taxonomy If you change that to: taxonomy_helpers.download_taxonomy_file(version = 3.3, loc = '../..') it should work!

I'll update the tutorial now.

snacktavish commented 3 years ago

https://github.com/OpenTreeOfLife/python-opentree/pull/22 Fixed here

cfz1998 commented 2 years ago

22 Fixed here

Thank you! Sir