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

MetaData.reflect() missing 1 required positional argument: 'bind' #151

Closed
lpipes opened this issue Apr 4, 2023 · 1 comment
Closed

MetaData.reflect() missing 1 required positional argument: 'bind' #151

lpipes opened this issue Apr 4, 2023 · 1 comment

Comments

@lpipes
Copy link

lpipes commented Apr 4, 2023

I can't seem to generate the 0_taxonomyfromtaxids.csv file from this command (I attached my two files 0.csv and 0_taxid.txt):

taxit taxtable ncbi_taxonomy.db -f 0_taxid.txt -i 0.csv -o 0_taxonomyfromtaxids.csv
Traceback (most recent call last):
  File "/space/s1/lenore/software/taxtastic/taxit.py", line 22, in <module>
    sys.exit(main(sys.argv[1:]))
             ^^^^^^^^^^^^^^^^^^
  File "/space/s1/lenore/software/taxtastic/taxtastic/scripts/taxit.py", line 51, in main
    return action(arguments)
           ^^^^^^^^^^^^^^^^^
  File "/space/s1/lenore/software/taxtastic/taxtastic/subcommands/taxtable.py", line 130, in action
    tax = Taxonomy(engine, schema=args.schema)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/space/s1/lenore/software/taxtastic/taxtastic/taxonomy.py", line 72, in __init__
    self.meta.reflect()
TypeError: MetaData.reflect() missing 1 required positional argument: 'bind'

0.csv
0_taxid.txt

@nhoffman
Copy link
Member

This should be fixed in v0.10.0 - please reopen or submit a new issue if you still see the error.

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