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

Fix bug with running standalone version; account for NumPy dependency in standalone install instructions; a few small changes w/r/t node circle options #495

Merged
merged 6 commits into from Mar 18, 2021

Conversation

fedarko
Copy link
Collaborator

@fedarko fedarko commented Mar 18, 2021

There's a line in _plot_utils.py that imports q2templates, a package which is (usually) only available in QIIME 2 conda environments. This was breaking the standalone script when ran outside of a QIIME 2 environment.

To fix this, we can just move the import down so that it's only done if EMPress is being run through QIIME 2. This fixes the problem.

A very warm thank you to @ammaraziz for pointing this out!

Edit - I also made a few changes in this PR's later commits that make the UI for changing the node circle behavior a bit nicer. Should be limited to just cosmetic changes to the HTML.

Forgot to account for chicken-and-egg NumPy problem we ran into
with Qurro. This should fix it.
@fedarko fedarko changed the title Fix bug with running standalone version Fix bug with running standalone version; account for NumPy dependency in standalone install instructions Mar 18, 2021
Not very related to this PR but still wanted to address
I think this ordering makes the most sense
@fedarko fedarko changed the title Fix bug with running standalone version; account for NumPy dependency in standalone install instructions Fix bug with running standalone version; account for NumPy dependency in standalone install instructions; a few small changes w/r/t node circle options Mar 18, 2021
@ElDeveloper
Copy link
Member

Thanks @fedarko !

@ElDeveloper ElDeveloper merged commit 26aa6ac into biocore:master Mar 18, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants