Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree not found? #138

Open
mkandziora opened this issue Jul 24, 2020 · 2 comments
Open

Tree not found? #138

mkandziora opened this issue Jul 24, 2020 · 2 comments

Comments

@mkandziora
Copy link
Contributor

Trying a random example:
physcraper_run.py -s pg_127 -t tree804 -tb -db PATH_TO_LOCAL -o pg_127

Traceback (most recent call last):
File "/root/physcraper_27072020/venv3/bin/physcraper_run.py", line 7, in
exec(compile(f.read(), file, 'exec'))
File "/root/physcraper_27072020/physcraper-main/bin/physcraper_run.py", line 180, in
configfile = conf)
File "/root/physcraper_27072020/physcraper-main/physcraper/opentree_helpers.py", line 371, in scraper_from_opentree
tree_id=tree_id)
File "/root/physcraper_27072020/physcraper-main/physcraper/opentree_helpers.py", line 259, in generate_ATT_from_phylesystem
return_format="otu_id"))
TypeError: 'NoneType' object is not iterable

@snacktavish
Copy link
Collaborator

Ah, it looks like this error happens when the ingroup isn't specified in the input tree. I'll add a fix.

@snacktavish
Copy link
Collaborator

Fixed in e2cf02b, merged to main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants