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

Resolution of ambiguities on fetch sample-metadata can trigger an AttributeError #92

Closed
wasade opened this issue Feb 21, 2020 · 0 comments

Comments

@wasade
Copy link
Member

wasade commented Feb 21, 2020

It appears click.exit is invalid, this likely should be cli.exit

Traceback (most recent call last):
  File "/Users/Tanya/miniconda3/envs/qiime2-2019.7/bin/redbiom", line 10, in <module>
    sys.exit(cli())
  File "/Users/Tanya/miniconda3/envs/qiime2-2019.7/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/Users/Tanya/miniconda3/envs/qiime2-2019.7/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/Users/Tanya/miniconda3/envs/qiime2-2019.7/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/Tanya/miniconda3/envs/qiime2-2019.7/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/Tanya/miniconda3/envs/qiime2-2019.7/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/Tanya/miniconda3/envs/qiime2-2019.7/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/Users/Tanya/miniconda3/envs/qiime2-2019.7/lib/python3.6/site-packages/redbiom/commands/fetch.py", line 80, in fetch_sample_metadata
    click.exit(1)
AttributeError: module 'click' has no attribute 'exit'
@wasade wasade closed this as completed in 68a8cee Oct 1, 2021
wasade added a commit to wasade/redbiom that referenced this issue Oct 21, 2021
antgonza added a commit that referenced this issue Oct 21, 2021
* TST: bulk get index test

* Batch index requests

* A little cleanup on debug items

* Additional comments

* sty

* Update redbiom/admin.py

Co-authored-by: Antonio Gonzalez <[email protected]>

* BUG: fixes #108, thanks @cotillau!

* VER: actually bump it, partially resolves #107, thanks @BenKaehler

* tentative py3738 support

* update actions

* update actions

* update actions

* update actions

* update actions

* update actions

* update actions

* update actions

* update actions

* update actions

* update actions

* update actions

* update actions

* BUG: fixes #93

* BUG: fixes #92

* remove unhelpful print

* Bump version

* Force json (#113)

* TST: sample id content type bug

* MAINT: fix issue where samples with .raw as a suffix were triggering unexpected returns

* Don't suffix twice

* Adjsut to account for force of json

* Address @antgonza's comments

* use the right variable name

* Verify data appear count

* Verify data appear count

Co-authored-by: Antonio Gonzalez <[email protected]>
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

1 participant