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

BUG: paired-heatmap keep_top_samples option is broken #121

Open
nbokulich opened this issue Feb 7, 2020 · 0 comments
Open

BUG: paired-heatmap keep_top_samples option is broken #121

nbokulich opened this issue Feb 7, 2020 · 0 comments

Comments

@nbokulich
Copy link
Contributor

if keep_top_samples=False, get an error that "select_microbes is referenced before assignment". Looks like the alternative broke at some point and this line just needs an else statement:

mmvec/mmvec/heatmap.py

Lines 187 to 189 in a520b32

if keep_top_samples:
select_microbes = microbes_table[microbes_table.apply(
pd.Series.idxmax, axis=1).isin(features)]

reported in #120

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