Skip to content

Commit

Permalink
relax pandas version for 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
cdiener committed Apr 15, 2024
1 parent 0a7cdbe commit bd7c109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micom/viz/association.py
Expand Up @@ -104,7 +104,7 @@ def plot_association(
fluxes = exchanges.pivot_table(
index="sample_id", columns="metabolite", values="flux", fill_value=atol
)
fluxes = fluxes.map(np.log)
fluxes = fluxes.applymap(np.log)
meta = phenotype[fluxes.index]
stds = fluxes.std(axis=1)
bad = stds < atol
Expand Down

0 comments on commit bd7c109

Please sign in to comment.