Closed namsaraeva closed 4 months ago
An ImportError occured when running example code for Tasccoda:
ImportError
import pertpy as pt adata = pt.dt.tasccoda_example() tasccoda = [pt.tl](http://pt.tl/).Tasccoda() mdata = tasccoda.load( adata, type=“sample_level”, levels_agg=[“Major_l1", “Major_l2”, “Major_l3", “Major_l4”, “Cluster”], key_added=“lineage”, add_level_name=True) mdata = tasccoda.prepare(mdata, formula=“Health”, reference_cell_type=“automatic”, tree_key=“lineage”, pen_args={“phi”: 0}) tasccoda.run_nuts(mdata, num_samples=1000, num_warmup=100, rng_key=42) pt.pl.coda.draw_effects(mdata, covariate=“Health[T.Inflamed]“, tree=“lineage”)
pt.pl.coda.draw_effects() throws Import Error: to use tasscoda please install ete3 with pip install ete3 even though ete3 is installed and can be verified with import ete3 running without any issues.
pt.pl.coda.draw_effects()
Import Error: to use tasscoda please install ete3 with pip install ete3
ete3
import ete3
No response
session_info.txt
Report
An
ImportError
occured when running example code for Tasccoda:pt.pl.coda.draw_effects()
throwsImport Error: to use tasscoda please install ete3 with pip install ete3
even thoughete3
is installed and can be verified withimport ete3
running without any issues.Version information
No response