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

apply_to_db.py errors out when not given to_exclude.txt #17

Closed
robert-ervin-jones opened this issue Apr 29, 2022 · 0 comments · Fixed by #21
Closed

apply_to_db.py errors out when not given to_exclude.txt #17

robert-ervin-jones opened this issue Apr 29, 2022 · 0 comments · Fixed by #21
Assignees
Labels
bug Something isn't working

Comments

@robert-ervin-jones
Copy link
Member

  • The --to_exclude argument should be optional
  • Output is as expected when given an empty to_exclude.txt
  • Example error when running without the optional --to_exlude argument:
File "apply_to_db.py", line 349, in <module>
        to_exclude = taxa_to_exclude()
File "apply_to_db.py", line 36, in taxa_to_exclude
        with open(args.to_exclude, 'r') as infile:
TypeError: expected str, bytes or os.PathLike object, not NoneType
@robert-ervin-jones robert-ervin-jones added the bug Something isn't working label Apr 29, 2022
@robert-ervin-jones robert-ervin-jones self-assigned this Apr 29, 2022
@robert-ervin-jones robert-ervin-jones linked a pull request Apr 30, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant